With this plugin you can create very easily a dynamic ajax search engine of your blog.
For setup this search engine use the followings
Write this shortcode where you want the input components for the dynamic search, and you get:
* One input field where write words to search into the blog with WordPress engine.
* Several categories to filter the search depending what you checked. By default all checked.
If you want you have some attributes to customize this shortcode:
[sas-input blank="true"] if you want to open in new window each link of the results. It’s false by default.
[sas-input dashicons="dashicons-admin-post"] this is an example to change the icon of each link.
[sas-input headings="#29AAE3"] this is the color by default for headings, but you can put here what you want.
[sas-input checked="#F8931F"] this is the color by default for checked categories to filter the search.
[sas-input unchecked="#ccc"] this is the color by default for unchecked categories to filter the search.
[sas-input not_found="Sorry but there are no results for your search."] put here the text you want to show when there are no results.
Also you can change the placeholder of the input field with the content of the shortcode. This is the value by default:
[sas-input]Write here your search...[/sas-input]
[sas-input blank="true" dashicons="dashicons-welcome-write-blog" headings="#ccc"]Write here...[/sas-input]
Note: Code of dashicons
With this one the plugin show the output of the search in real time with the ajax engine. You can see the structure of this in the screenshots.
You don’t need put for this shortcode any attribute, but could be you want to add some aditional css for the best integration with your theme.
In summary just put
[sas-input] where you want the input for the search, and put
[sas-result] where you want the results. You will usually put them together, but you can decide how, like use a conditional widget into a sidebar for the first one.
Feedback and support
I hope it is useful for you and look forward to reading your reviews! 😉 Thanks!
Both shortcodes together in the same page.
One shortcode in conditional widget and the other one into a page.