Results 1 to 10 of 10

Thread: Adding 'STATE' Dropdown To Top Search Bar

  1. #1
    Thread Starter
    Expired Customer tyler's Avatar
    Join Date
    Jan 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding 'STATE' Dropdown To Top Search Bar

    Hey guys,

    I've tried searching and searching through the forums but I can not find what I am looking for. I'm not the best with code so please excuse my lack of proper wording.

    So, there was a forum member who posted up a small amount of code that basically added a state dropdown function to the top search bar. From memory it worked by adding the 'cp_state' as a keyword to the user's search. So for example when the user searched 'iPhone' in category 'Phones' and then chose 'California' as their state, their search results would return iPhones, in the Phones category, only under the chosen 'cp_state' variant.

    Does anybody have the code or link to the thread? I'm looking for a code or plug in that ads custom search function to the top search bar.

    Please see attached file that I have quickly photoshopped for what I am wanting to add/modify.
    Untitled.jpg

    My site:
    www.fourby.com.au

    Note:
    I'm not looking for an advanced search sidebar widget or plug in. I'm currently using statify and WP Custom Search however these are not very functional and do not directly effect the top MAIN search bar.Untitled.jpgUntitled.jpg

  2. #2
    bobyrou's Avatar
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    201
    Thanks
    16
    Thanked 9 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    maseres's Avatar
    Join Date
    Oct 2014
    Posts
    51
    Thanks
    13
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    petfive's Avatar
    Join Date
    Jun 2013
    Location
    London, UK
    Posts
    95
    Thanks
    3
    Thanked 12 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    maseres's Avatar
    Join Date
    Oct 2014
    Posts
    51
    Thanks
    13
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    petfive's Avatar
    Join Date
    Jun 2013
    Location
    London, UK
    Posts
    95
    Thanks
    3
    Thanked 12 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Thread Starter
    Expired Customer tyler's Avatar
    Join Date
    Jan 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    maseres's Avatar
    Join Date
    Oct 2014
    Posts
    51
    Thanks
    13
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    petfive's Avatar
    Join Date
    Jun 2013
    Location
    London, UK
    Posts
    95
    Thanks
    3
    Thanked 12 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    Expired Customer mahnabil's Avatar
    Join Date
    Sep 2015
    Posts
    20
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding search via Country, State and City
    By vistago in forum ClassiPress General Discussion
    Replies: 11
    Last Post: October 11th, 2013, 08:15 PM
  2. Issue with State/country dropdown - ANYONE HAVE A FIX
    By andrewthompson in forum ClassiPress General Discussion
    Replies: 3
    Last Post: November 8th, 2011, 05:24 PM
  3. Issue with State/country dropdown - ANYONE HAVE A FIX
    By andrewthompson in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: November 8th, 2011, 07:37 AM
  4. Issue with State/country dropdown
    By andrewthompson in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: November 2nd, 2011, 02:36 AM
  5. Adding search via Country, State and City
    By vistago in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 06:00 PM