Support » Plugin: Relevanssi - A Better Search » Limit search to taxonomy term

  • I’m searching within custom post types and Relevanssi is mostly working…except that I cannot limit my search to a specific taxonomy term.

    I know what I’m doing works because when I disable Relevanssi, the search results return as expected (but I need Relevanssi to search on the other meta fields, so that’s why I’m using it).

    Anyway, I tried using both a hidden field in my search form and pre_get_posts filter to update the tax_query but it’s just not working. I can provide code if needed; just checking if this is possible or if Relevanssi will always override any modification I do to the query. Is there a filter I can run that will execute after Relevanssi does it’s thing so I can filter it further if necessary?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Limit search to taxonomy term’ is closed to new replies.