Move Change Location menu item?

This topic contains 7 replies, has 3 voices, and was last updated by  George Nicolae 8 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #68945

    George Nicolae
    Expired Member
    Post count: 123

    I see that, a change location item is added to the main menu if I select that from Geodirectory settings. The theme I use right now displays the main menu slightly different and the item doesn’t show.

    Is it possible, via functions, or something like that to display it somewhere else? Let’s say in my site header?

    Thank you.

    #68979

    Paolo
    Site Admin
    Post count: 31206

    hi,

    you can add it anywhere via shortcode: https://wpgeodirectory.com/docs/location-manager-shortcodes/

    Let us know how you went,

    Thanks

    #68983

    George Nicolae
    Expired Member
    Post count: 123

    Tried the shortcode in a post and with do_shortcode to add it in the header( layers uses action hooks and stuff) and it looks like this http://goo.gl/4B9BN7

    Despite the fact it doesn’t work, conflicting maybe with something… I was hoping to get the link as in the menu so I could click on it and get the dropdown.

    #68995

    Paolo
    Site Admin
    Post count: 31206

    That is not possible, the shortcode isn’t a menu item. Why don’t you add it as a menu item to the top menu where you have this links?

    Adaugă Locatie
    Info
    Blog
    Contact

    Let us know,

    Thanks

    #69000

    George Nicolae
    Expired Member
    Post count: 123

    Well I thinked of something, on how to do it. First of all I was using the wrong shortcode. Needed this one [gd_location_tab_switcher] and used the other one.

    I want to keep it on the ehader, not the top menu because the header sticks to the top on scrolling and it will be always visible to the user. A while ago I found a tutorial on how to make a link with popup but I forgot the link 🙁

    #69035

    George Nicolae
    Expired Member
    Post count: 123

    I didn’t managed to make a pop-up or a dropdown that worked but I added another menu position after the site logo. Unfortunatelly checked GD settings and I only have the option to show location switcher in the main menu only.

    #69041

    Guust
    Moderator
    Post count: 29970

    The location switcher can be added to any menu you select at GD > design > navigation.

    #69071

    George Nicolae
    Expired Member
    Post count: 123

    I noticed only Main Navigation Settings > Show location switcher in menu

    Used your suggestion added that to the menu. Right now, on the newly addeed menu I don’t have dropdowns working but after fixing those, everything should be ok, I guess.

    Thanks.

Viewing 8 posts - 1 through 8 (of 8 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