WordPress.org

Ready to get started?Download WordPress

Forums

?? Make A Search Bar With Category Drop Down ??? (4 posts)

  1. clhmedia
    Member
    Posted 5 years ago #

    Hello All,

    I have been trying to find out how i can make a search form with a drop down list of categories included

    i can fine-tune a search query by adding the category to the search action url like so: yoursite.com/?s=stuff&cat=5
    ( example: http://tv.clhmedia.com/?s=murdock&cat=5 )

    but how can i include this into the search form so included in the search bar would be a list of categories to choose from???

    ive been looking for a while and cant find any useful resources. if any one knows of a plugin (for searching enhancements not just drop down categories) or an example php script that would be great

    i'm assuming if i cant do it directly from the search form i would have to make an additional php page for the search to call and perform the search action based on what category was chosen in the list

  2. clhmedia
    Member
    Posted 5 years ago #

    cheers to Isaac Rowntree for the fast responc, i should be able to tweak this so it fits in my navigation toolbar http://wordpress.org/extend/plugins/multiple-category-selection-widget/

    thanks again

  3. clhmedia
    Member
    Posted 5 years ago #

    for some reason i cant add this into the search paramters for sordpress, i just keep getting errors

  4. mandawahoo
    Member
    Posted 4 years ago #

    Does anyone have a solution for this? I also need a searchbar with a category drop down.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic