Advance Search Inquiry

This topic contains 10 replies, has 2 voices, and was last updated by  Guust 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #428187

    Joy
    Buyer
    Post count: 1076

    Hello, is it possible to pre-populate a location in the search bar without having to explicitly select it or use the location switcher menu?

    Thank you.

    #428197

    Guust
    Moderator
    Post count: 29970

    How would the search bar know what location to pre-populate without selecting the location one way or another?

    #428198

    Joy
    Buyer
    Post count: 1076

    Hi Guust. That’s why I’m asking. GD has a set of locations that are created by the admin, is there a way to load the search bar for a specific location?

    Basically, I’m trying to re-create a location page, using the location page informs the search bar of the location to search, but since the template isn’t really working for me, I’m looking for another option. Thank you.

    #428202

    Guust
    Moderator
    Post count: 29970

    Only GD pages will ever know the location, WP pages do not.
    You will have to use the location page somehow. Why is it “not working for you”?

    #428204

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #428207

    Guust
    Moderator
    Post count: 29970

    I think that site is just using the Location Description widget: https://wpgeodirectory.com/docs/location-manager-widgets/#desc

    #428209

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #428221

    Guust
    Moderator
    Post count: 29970

    Copy and paste the HTML of your WP page into the “city description” at GD > Multilocations > SEO tab > Location description.
    And use the Location Description widget: https://wpgeodirectory.com/docs/location-manager-widgets/#desc

    #428443

    Joy
    Buyer
    Post count: 1076

    I see what you’re saying…I will try to give this a go and I will report back my results. Thank you for your assistance.

    #428447

    Joy
    Buyer
    Post count: 1076

    Very clever! I didn’t know that I could utilize the widgets and location manager this way. Thank you very much!

    #428493

    Guust
    Moderator
    Post count: 29970

    Don’t forget categories work similarly per location, just look at your category settings 🙂

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket