Customise Search Widget

Community Forums Forums Design Tips and Tricks Customise Search Widget

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Andrea Rennick 3 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #98620

    fortyfivecreative
    Participant
    Post count: 10

    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.

    Thanks

    http://develop.hostfortyfive.co.uk/blog
    #100477

    Andrea Rennick
    Keymaster
    Post count: 984

    Search form results are core WordPress. Any search form filters we have are for the text on the search box.


    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.

    Twitterholic

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.