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.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.