Results 1 to 7 of 7

Thread: Changing the Search fields in the Header Search or search widget

  1. #1
    Thread Starter
    lausha's Avatar
    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    422
    Thanks
    62
    Thanked 11 Times in 11 Posts

    Changing the Search fields in the Header Search or search widget

    I have installed a Search widget which claims to search categories, for example by creating a small search box with this code:

    [searchandfilter fields="category,post_tag" submit_label="Filter" headings="Categories,Tags"]

    but in the Categories box, despite having 12 Categories set up it only gives me the options of All Categories and Uncategorized. I presume this means it's picking up the Categories for Posts rather than Listings. What would be the code to have it pick up my theme categories?

    Also, I don't want to search tags. I would prefer the first search option to be based on one of the fields I set in the Listing form, which is simple "male or female" option. The code in the Forms list is written as #app_gender, but when I enter that in the search box code without the hash that doesn't work.

    Basically I want to either turn the Search in the Header into this, or if that's not possible, create a separate Search box for it elsewhere, so I it works like:

    Search for Male OR Female (OR All if that's possible),
    in one of the Categories, chosen from a dropdown.

    Can you help with that?

    Thanks

  2. #2
    Thread Starter
    lausha's Avatar
    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    422
    Thanks
    62
    Thanked 11 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  4. #4
    Thread Starter
    lausha's Avatar
    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    422
    Thanks
    62
    Thanked 11 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    lausha's Avatar
    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    422
    Thanks
    62
    Thanked 11 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    lausha's Avatar
    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    422
    Thanks
    62
    Thanked 11 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add location fields to search widget and bar
    By jeanmich in forum ClassiPress General Discussion
    Replies: 2
    Last Post: January 28th, 2016, 06:58 PM
  2. Issues with advanced search custom fields search issue with & symbol
    By sudheerbasu in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: March 4th, 2015, 08:48 AM
  3. [MOD NEEDED] Adding an additional search field to the header search
    By alexdurston in forum JobRoller General Discussion
    Replies: 3
    Last Post: February 19th, 2012, 03:28 AM
  4. Search Widget in Header
    By alinimmo in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 17th, 2010, 10:43 AM