Search exclude specific category?

Posted by Coleen_Astalos on
URL: https://support.nabble.com/Search-exclude-specific-category-tp7589969.html

Is there a way to modify the search posts to exclude posts from a specific forum category?

In looking, I think perhaps in search_page_html macro.  Something in/around this loop to check to see if the post is not from node#5514 (the category I want to NOT include in the search results)

<n.results.loop.current_node.>
     <n.search_result_row/>
</n.results.loop.current_node.> 

Does that sound reasonable?  If so, what should the If check look like and should it go outside the loop or inside the loop?
Thanks,
Coleen