Limit listings when browsing categories

This topic contains 12 replies, has 2 voices, and was last updated by  Guust 4 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #510942

    Dave
    Free User
    Post count: 10

    We have a directory that currently will have a nationwide listing of health care providers. Our users will be consumers looking for a new doctor or dentist, is there a way to put a geolocation limit on the results when a person is browsing the directory?

    #510945

    Guust
    Moderator
    Post count: 29970

    If you use the GD Search, your visitors can search NEAR their location or any location they choose.
    Demo at https://wpgeo.directory/starter/

    Let us know if I misunderstood the question. Thanks

    #510961

    Dave
    Free User
    Post count: 10

    Thanks for your reply.

    Yes, I know about that but if someone is just browsing the directory (not using search) is there any way to limit the results to their location?

    #510968

    Guust
    Moderator
    Post count: 29970

    Add the Location Switcher to the menu or use it as a widget.
    Then your visitors can first navigate to their city or region.
    Add the GD Categories element to the location page, and then following those category links will only show the listings in that category for the chosen city or region.
    Thanks

    #510972

    Dave
    Free User
    Post count: 10

    Thanks, I’ll try that.

    #511436

    Dave
    Free User
    Post count: 10

    I did try the previous solution but it’s not quite what the client is looking for.

    We have a site that lists doctors, dentists and other listings in the
    medical field. Currently all the listings are in Texas but the client hopes to expand out to other states.

    We have the listings structured by the ailments each office specializes in (example: Diabetes, acne etc.). That works fine but the client wants to add the ability to add the city to the search. I tried the solution above and while that does work to limit the city on the when searching, the client wants the ability to allow their users to select their city at the start of their session, then regardless of where they are or what they’re doing on the site, only listings from the chosen city will be displayed.

    I think one way to accomplish this would be to add City/State to the directory structure as categories. Then have all of the medical categories duplicated within each City.

    Can any one offer any other solutions?

    Thanks,
    Dave

    #511445

    Guust
    Moderator
    Post count: 29970

    That should be how my suggestion works.
    You can also search for the location in the search bar.

    If you post your URL and WP admin details in a private reply then we can have a look at your settings if you like.

    Thanks

    #511446

    Dave
    Free User
    Post count: 10
    This reply has been marked as private.
    #511461

    Guust
    Moderator
    Post count: 29970

    Can you check those credentials please, I get invalid username.
    Thanks

    #511491

    Dave
    Free User
    Post count: 10

    I’m sorry, it’s working now.

    #511563

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #511622

    Dave
    Free User
    Post count: 10
    This reply has been marked as private.
    #511650

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
Viewing 13 posts - 1 through 13 (of 13 total)

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

Open Support Ticket