Plugin's documentation:
https://wdvillage.com/wdv-ajax-search/
ATTENTION! After updating to version 1.0.3, you need to open the plugin properties and click on the "Add / Edit Settings" button for each of the shortcodes you created and click on the "Save" button in the modal window that opens. If this is your first time installing this plugin, then just follow the documentation.
DESCRIPTION
WDV Ajax Search (WordPress plugin) – with this plugin you can create different search forms for different post types your site and put their shortcode on the corresponding page.
ADMIN PART
You can create special search form for any post type. In table you can see shortcode for your search form. You can put shortcode on the corresponding page or you can use form shortcode on template (you can find how to do this in documentation).
FORM SETTINGS
Now you press button "Add/Edit Settings" and choose settings that you need. On General options, in paragraph 1 - " Search in custom post types" you can see list of all post types that exists on your site. Here you can choose post type. For example you want to make search form for searching in post type "wdvdocs".
In paragraph 2 - "Search by" you can choose - the search will be carried out only by post titles or by post titles and content.
In paragraph 3 you can write that message will see your custome if there are not records found (for example - "No record found").
In paragraph 4 you can write how many search result show on one table page with search results.
On the tab "Image" you can choose whether to show images in search results. You can choose size of the pictures and select the default image which will be shown if post have no picture.
On the "Layout" tab you can choose how the search form will look like.
HOW TO USE
You can add the shortcode directly to the page where you want to see the search form. For example, you installed the documentation plugin for your products. Perhaps it does not have a search form and you can add a shortcode to search for documents to the page that displays the list of documents.
You can also add a shortcode to the archive page or to the blog page.
If during the creation of the form on the tab "General -> Search by" the item "Title" was selected and the visitor can simply open the found pages.
If during the creation of the form on the "General -> Search by" tab the item "Title & Content" was selected and the visitor opens any of the found pages - on this page the found search text will be highlighted in color.
REAL EXAMPLES
- This page (aniro.wdvillage.com/services/) contains a service search form. Here the search is carried out by headings (you can use for example "book" as a search word): Services (When the search is carried out by headings, then when opening the found pages, the search word is not marked there.)
- Here (aniro.wdvillage.com/blog/) you can see search form on blog page: Blog (you can use for example "room" as a search word).
- This page (aniro.wdvillage.com/rooms/) contains a search form for the description of rooms. Here, the search is carried out by the titles and content of the page (you can use for example "bed" as a search word): Rooms (When the search is carried out by the titles and content of the page, then when you open the found pages, the search word there is highlighted in color.)