Search by City

This topic contains 18 replies, has 4 voices, and was last updated by  Calgar C 7 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #411866

    Calgar C
    Buyer
    Post count: 17

    I have a multi city website I am working on with geo directory.

    I do not want users to be able to search for a location by place. I want them to search for a city and have it show all places available in said city.

    I was thinking I could use some sort of taxonomy search plugin. I also thought of creating a separate page for each city and loading it with all the locations. Any ideas on what I can do?

    #411885

    Kor
    Moderator
    Post count: 16516

    Hi Calgar,

    Could you visit this demo site https://wpgeo.directory/starter/ and try searching a city using the “Near” field and see if it’s what you’re looking for? Try typing “Philadelphia” and you’ll notice the “Autocomplete” feature displays a result as shown in the attached. Is this what you’re looking for? You can remove other search fields using custom CSS.

    Thanks!

    #411979

    Calgar C
    Buyer
    Post count: 17

    that would work, and that is what I originally tried. I should try it again. The standard search bar from the widget section should work yes??

    #412008

    Kor
    Moderator
    Post count: 16516

    Hi Calgar C,

    Thanks for your reply. The example you see uses a premium addon called “Advanced Search Addon” and it can be purchased here https://wpgeodirectory.com/downloads/advanced-search-filters/ . Also, you’ll need the “Location Manager addon” https://wpgeodirectory.com/downloads/location-manager/ if you wish to include more than one city in your directory. Let us know how it goes.

    Thanks!

    #412088

    Calgar C
    Buyer
    Post count: 17

    ah… I shall talk to my client and tell him about the location manager addon

    #412738

    Calgar C
    Buyer
    Post count: 17

    I got the searh by city functioning now, but it says there are no lcoations available when I do a search. I hid the other search functions using display:none in css.

    http://baggagespace.com

    Montreal, Ottawa, Quebec are the city examples I added.

    Any help on what I am doing wrong would be appreciated

    #412748

    Kor
    Moderator
    Post count: 16516

    Hi Calgar,

    Please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.

    Thanks!

    #412817

    Calgar C
    Buyer
    Post count: 17
    This reply has been marked as private.
    #412820

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #412823

    Calgar C
    Buyer
    Post count: 17
    This reply has been marked as private.
    #412825

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #412827

    Calgar C
    Buyer
    Post count: 17
    This reply has been marked as private.
    #412833

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #412834

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    If you take a look at the test page, those are some of the location manager shortcodes:

    https://wpgeodirectory.com/docs/location-manager-shortcodes/

    It looks like the nearby autocompleter is working as expected on the new test page.

    Take a look at your home page and your custom CSS and look for a conflict that is breaking it.

    Fair warning, the advanced search autocompleter uses ajax, so it is very dependant on the speed of the host. Again, though, it works on the text page.

    Let us know what you find out about the home page there

    #412839

    Calgar C
    Buyer
    Post count: 17

    thanks. I will have a look when I get home.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount