search by location ?

  • Will
    Will
    Newbie 59 points
    October 12, 2015 at 5:24 pm

    is it possible to search by location in the directory theme?

    i want to have a worldwide directory broken down by country, state/province, city

    so far i haven’t see that in the demo (sorry if i missed it)

    thanks


  • Josh
    Super Guru 13,875 points
    October 12, 2015 at 5:41 pm

    Hello Will,
    You can use the Advanced Search

    Attachments:
    You must be logged in to view attached files.
  • Will
    Will
    Newbie 59 points
    October 13, 2015 at 3:01 pm

    do you mean add a taxonomy field?

    if yes, how do i direct this to search locations? (how does it know to look at locations data in the db)

    thanks


  • Josh
    Super Guru 13,875 points
    October 13, 2015 at 3:16 pm

    I mean Add Custom Field then select Country Search (USER LIST)/State Search (LINKED) for ‘Search Field’

  • Will
    Will
    Newbie 59 points
    October 13, 2015 at 3:36 pm

    the Country Search (USER LIST) is a separate value from State Search (LINKED) in the select box

    i don’t see how to join Country Search (USER LIST) with State Search (LINKED)

    should State Search (LINKED) but an additional Custom Field?

    thanks


  • Josh
    Super Guru 13,875 points
    October 13, 2015 at 3:41 pm

    Sorry,this is what i mean:
    For Country select Country Search (USER LIST)
    For States select State Search (LINKED)
    etc.I dont mean you combine or select both at the same time

    This reply was awarded the best answer by the topic poster.
  • Will
    Will
    Newbie 59 points
    October 13, 2015 at 3:42 pm

    ah, so separate search select boxes

    thanks


  • Josh
    Super Guru 13,875 points
    October 13, 2015 at 4:18 pm

    You’re welcome 🙂

  • Will
    Will
    Newbie 59 points
    October 17, 2015 at 4:13 pm

    these work in the sidebar Advanced Search (thanks), but the default top-of-page search box still does not return location results

    example listing has Florida, United States of America

    however, when i entered florida in the top-of-page search box, the results page said no results, see pics

    of course, the sidebar advanced search widget returns the florida results IF the location is selected from the location select boxes, but the advanced search box does not return florida if the location select boxes are not utilized

    how can i get all search tools to search locations and return same results no matter which search feature is used?

    Attachments:
    You must be logged in to view attached files.

  • Josh
    Super Guru 13,875 points
    October 19, 2015 at 4:01 pm

    Currently you can only add more fields to the sidebar/widget Advanced Search


  • Norbert
    Newbie 11 points
    October 19, 2015 at 5:07 pm

    As a workaround,
    you could get rid of the basic header search entirely, then add a wordpress widget area in your header and place the PP advanced search there, then also just set all pages to exclude advanced search from sidebar, since you’d have it in your header on all pages anyway.

    so in effect you’d have only the adv.search featured everywhere, this way users can be less confused

  • Will
    Will
    Newbie 59 points
    October 20, 2015 at 10:22 pm

    i’m assuming PP means Premium Press?

    they have an Advanced Search widget or plugin?

    thanks

  • Will
    Will
    Newbie 59 points
    October 21, 2015 at 12:21 pm

    how could i accomplish this?

    how do i turn off the default search box in the header and enable the advanced search box in the header?

    thanks


  • Josh
    Super Guru 13,875 points
    October 21, 2015 at 12:44 pm

    @Will There is no option to replace the header search with sidebar Advanced Search currently,some customization will be required to achieve this.
    You can add an Advanced Search under the menu though but you must enable Home Page Editor then go to Search Blocks and select your preferred Search Style

    Attachments:
    You must be logged in to view attached files.
  • Terrell
    Terrell
    Senior Member 152 points
    November 19, 2015 at 6:30 pm

    Hide the search box in the header navigation by going to General Settings > Layout Setup > Custom CSS
    add: `.wlt_searchbox {
    display:none
    }`

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes