Introduction to Wordpress Integrated Search :
- Integrates wordpress search results with product results.
- Wordpress can be a separate folder or within your root folder.
- Both your site and Wordpress can share a same database or separate.
- Search autosuggestion for both products and Wordpress Page/Posts.
- Search results show both products and Wordpress Page/Posts.
- We can disable Wordpress results from search and display only product suggestions and results.
- Images and Descriptions/Content of Product/Posts can also be displayed in autosuggestion.
- We can disable auto suggestion.
To get the search results from wordpress
1. Create a file in your wordpress current theme folder ( for eg: wp-content/themes/twentythirteen/searchpage.php)
To know your current wordpress theme , go to Appearance -> Themes in wordpress admin panel.
2. Include the following lines in your search file:
Try to create an empty new page in wordpress admin panel ( Pages >Add New ) and assign newly created template from Template Dropdown (eg: Search Page) .
To enable the extension, go to System > Configuration and from left side menu navigate to DCKAP > Wpsearch Settings > General
In the Module Enable Field , Select Yes to enable the Autosuggestion Module.
In the Autosuggestion Enable field , Select Yes to display the auto suggestion search box. Select No if you want to disable autosuggestion.
In the Autosuggestion Limit field, specify the maximum no of suggestions to be listed when searching for products and posts. For Eg: If you give 5, then 5 product and 5 posts suggestions will be displayed. Default limit is 5.
In the Minimum Search Characters field, specify the maximum no of characters after which the suggest results to be displayed. For Eg: If you give 3, then after entering 3 characters the ajax auto suggest will display the suggestion box. Default limit is 3.
Product Suggestion Configuration
In the Display Options field you can select the product field that you want to show in the search suggestion box. By default product name will be displayed.
In the Description Limit field, specify the maximum no of product description characters to be displayed in the suggestion box.
Wordpress Posts Result Configuration
In the Wordpress Enable field, select Yes to enable the wordpress results to be displayed in suggestion and result page. If you don’t want wordpress results to be displayed , then select no, this will display only product results.
In the Searchpage Url field, give the search page url which you have created in your wordpress site.
In the Content Limit field, specify the maximum no of post content characters to be displayed in the search result page.
In the Wordpress Pagination Field, specify the page limits(Posts per page) separated by comma(,).
Wordpress Posts Suggestion Configuration
In Enable Content Display, select yes to display the posts content(if exists) in the suggestion box.
In Enable Image Display, select yes to display the posts image(if exists) in the suggestion box.
In the Content Limit field, specify the maximum no of post content characters to be displayed in the suggestion box.
Search Autosuggestion view
Displays the suggestion results after entering 3 characters by default. you can change the characters limit in Minimum Search Characters in DCKAP > Wpsearch Settings > General.
Shows product and post results in separately. Default limit is 5. Limit can be changed in Autosuggestion Limit in DCKAP > Wpsearch Settings > General.
Both results are shown in Search result page in two tabs.
- Stability: Stable Build
+ Wordpress Integrated Search Initial Stable Version