[Plugin: Relevanssi – A Better Search] Searching by taxonomy term
Firstly, thanks for a great plugin!
I’m getting a little confused about filtering search results by a taxonomy term. Here’s what I’ve done so far:
In Settings->Relevanssi I’ve scrolled down to “Custom taxonomies to index:” and filled in the taxonomy names here separated by a comma. I’ve then clicked save and rebuilt the index.
I’ve then built a search URL to only include results from that taxonomy in the form ?s=my+search+term&post_type=product&product_series=the_name_of_a_series
Unfortunately this doesn’t seem to be working (with or without the post type in the URL). Should I be referencing taxonomies by their ID or name (e.g. product_series vs. Product Series) in URLs and in the Settings? How about the terms? (e.g. the_name_of_a_series vs. The Name of a Series)
Whatever I seem to doesn’t seem to affect the results (filtering by post type works fine). Any help you can offer would be great.
- The topic ‘[Plugin: Relevanssi – A Better Search] Searching by taxonomy term’ is closed to new replies.