Was wondering if it is possible to exclude a category from the search results.
I am using custom fields on my posts which is working well with complex searches and filtering – but because of the “search all” option on all fields – it does mean if no field is actually selected all my posts are displayed. (if search is clicked of course)
Was wondering if I could use the “compare” option to exclude a category from being displayed?
Any ideas would be appreciated – (I am using shortcode)
- The topic ‘Exclude category from search results’ is closed to new replies.