[Plugin: Dave's WordPress Live Search] restrict results to a custom post type
I’m having difficulty coming up with a way to get the live search to restrict results to a custom post type “product” and am hoping someone could help.
I’m using a hidden field in the search form generated in a specific product template to set the post type as suggested else where in the forums e.g….
<input type="hidden" name="post_type" value="product" />
Which seems to work well for the form submit results (via Relevanssi) but not so for the live search popup results.
Does anyone know how I can achieve this?
- The topic ‘[Plugin: Dave's WordPress Live Search] restrict results to a custom post type’ is closed to new replies.