-
Notifications
You must be signed in to change notification settings - Fork 1
Get Started
QMean settings gives you the ability to control the behavior of the suggestion engine. To begin using QMean, you only need to define which field will trigger the suggestions.
There are 3 ways to set your search field:
In the settings page there is an option Search Input Selector which gets the CSS selector of the search trigger field. This field will show the suggestions by typing 3 letters. You can Use CSS selector in full. e.g. .selector-class
OR #selector-id
OR input[name="s"]
. This is THE BEST & EASIEST WAY to hook QMean to any field you already have on your theme!
Note: You can use multiple CSS selectors, separated with commas. .a, .b, #c, .d.f > input
Note: To find the selector, on Chrome or Firefox, right click on your search input field, then click Inspect Element, then you will see the class or the id value for the field. If id exists choose it, if not you need to use CSS.
In the settings page there is a button Use QMean's auto recognizer on front-end. This tool will activate itself on front-end so you can click on the field you want and it gets the CSS selector automatically.
NOTE: Just add ?qmean_field_recognizer
at the end of any URL to activate recognizer and if the URL already has ?
then add &qmean_field_recognizer
e.g. https://yourdomain.com/filter?qmean_field_recognizer or https://yourdomain.com/?s=something&qmean_field_recognizer
QMean has 2 shortcodes that you can use. Read more about it on Shortcodes
This documentation is a work in progress. For hints you can click on the question marks on the settings page of the plugin.