Hi, I am looking to create a conditional filter for the Genesis Search Widget that:
(a) On archive and single posts, the search widget only shows results from 'posts'.
(b) On other pages, the search widget only shows results from 'pages'.
I know I need to filter the genesis_search_form somehow, but any help would be appreciated.
Search form results are core WordPress. Any search form filters we have are for the text on the search box.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!