Search Divi Ajax Search Documentation

Search for answers or browse our knowledge base.

< All Topics
Print

How to use

Follow the below instructions to use the Ajax Search module effectively.

Insert Module on Page

Content Options

Configuration

  1. Search Field Placeholder: Here you can input the placeholder for the search field.
  2. Search Result Number: Here you can define how many number of search result should be displayed in search result. If you want to display all input the value -1.

3. Order by: Here we can set the order type of search results.

  1. Order: This setting allows you to specify the order in which the results are displayed. You can choose between ascending or descending order based on your preference.
  2. No Result Text: With this setting, you have the option to enter a custom text that will be displayed when no search results are found for a particular query. This allows you to provide a tailored message or suggestion to the users in such situations.

Search Area

  1. Search In allows you to specify the areas within the post where the search query will be performed. There are six options available:
    • Title: If you select this option, the search query will be matched against the titles of the posts. Only posts with matching titles will be returned in the search results.
    • Content: By choosing this option, the search query will be matched against the content of the posts.
    • Excerpt: This option enables the search query to be matched against the excerpts of the posts.
    • Taxonomies: This option allows you to include taxonomies in the search. Taxonomies are ways to classify and organize content, such as categories or tags. By selecting this option, the search query will be matched against the taxonomies associated with the posts.
    • Product Attributes: If you’re dealing with an e-commerce or product-based website, this option allows you to search within the product attributes. Product attributes are characteristics or specifications of a product, such as size, color, or material. Enabling this option will include the search query matching against the product attributes in the search results.
    • Product SKU: SKU stands for Stock Keeping Unit and refers to a unique identifier assigned to a product. If you select this option, the search query will be matched against the SKUs of the products, and the relevant products will be included in the search results.
    • You can choose any combination of these options based on your specific search requirements.

2. Post Types: This allows you to decide where to perform the search query user inputs. Options for where to perform a search are Posts, Pages, Projects, and Custom Post Types.

Display

Here, you can decide what to display in the live search based upon the search query. The display options are Title, Excerpt, Featured image, or a combination of these with a Search Icon.

Scrollbar

This setting option gives you control to display or hide scroll bar in search results.

Link

Here, you can choose whether to open displayed results in the same tab or a new one.

Background

  1. Search Result Box Background: This setting allows you to define the background color or image for the search result box. You can choose a solid color or upload a custom image to create the desired visual appearance for the search result box.
  2. Search Result Item Background: With this setting, you can specify the background color or image for search result items. This enables you to customize the look and feel of the search results, providing a unique and visually appealing design.
Was this article helpful?
2 out Of 5 Stars

11 ratings

5 Stars 18%
4 Stars 9%
3 Stars 0%
2 Stars 9%
1 Stars 64%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents