How can I get the location switcher to show in the menu?

This topic contains 10 replies, has 6 voices, and was last updated by  goakes 9 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #10304

    Mike McClellan
    Free User
    Post count: 10

    How can I get the location switcher to show in the menu like is on the demo at http://wpgeo.directory/? I have checked it in the MAIN NAVIGATION SETTINGS of the MultiLocations page. However, it still does not appear. I changed between List drilled-down Regions, Cities and List all Countries, Regions, Cities, but neither made a difference.I have also deactivated all plugins except the GeoDirectory plugins. Still no difference.

    My site is located here:
    http://dollardynamics.biz/unionliving/
    Thanks,
    Mike

    #10314

    purpleedge
    Expired Member
    Post count: 539

    You might need to create a custom menu and specify that GD uses that menu.

    #10332

    KWH
    Expired Member
    Post count: 67

    Using the Avada theme with the GD Avada Child theme I can’t get the location switcher to appear either. There isn’t a setting in menus to allow you to designate a menu to GD. I can’t find a way of allowing users to choose a location at all!

    #10350

    KWH
    Expired Member
    Post count: 67

    OK, I was looking in Appearance>Menu for a way to assign a menu to GD. I’ve since realised it’s under GD>Design>Navigation, and now the local switcher appears in the menu.

    #10360

    Simone
    Expired Member
    Post count: 3515

    Exactly, you need first to create a menu in Appeareance/Menu and then in Geodirectory/Design/Navigation you should assign it.

    #10499

    Mike McClellan
    Free User
    Post count: 10

    Thanks KWH. That’s exactly what I was looking for.

    #20188

    goakes
    Buyer
    Post count: 143

    More for interest, but can the multilocation function be added to a widget as opposed to being in the menu bar? It’s just I would like to put this function else where on the site

    #20229

    pawon
    Free User
    Post count: 34

    It can goakes, you need to put the following in functions.php to allow shortcodes to be used in text-widgets:

    add_filter('widget_text', 'do_shortcode');

    Then just create a text-widget with the following shortcode:

    [geodir_location_tab_switcher autoredirect="1"]

    enjoy 🙂

    #20260

    goakes
    Buyer
    Post count: 143

    Thank you. It all works.

    Gary

    #20264

    goakes
    Buyer
    Post count: 143

    Me again

    Not sure if a coincidence, some time after adding this, I noticed I was unable to update the details for a listing. I then noticed when I selected the geodirectory Design tab that I just get white space. This does not happen on any of the other tabs.

    Any ideas what could be wrong?

    I have removed the location widget.

    #20274

    goakes
    Buyer
    Post count: 143

    Made some plugin updates and all is well again.

    Gary

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