Home › Forums › WoodMart support forum › Dropdown in Topbar
Dropdown in Topbar
- This topic has 16 replies, 3 voices, and was last updated 6 years, 5 months ago by Elise Noromit.
-
AuthorPosts
-
August 5, 2018 at 7:32 am #71191
greenorbParticipantHello,
how can I create dropdown like “Language” and “Country” in the topbar like your demo
https://woodmart.xtemos.comIf I try to do this with “Text/HTML” in the Header Builder it does not work (using form/select)
I want to change the URL after chose a option to switch language or currency by adding a parameter to the URL (like: ?wmc-currency=AUD or ?lang=de)
August 5, 2018 at 8:52 am #71198
Elise NoromitMemberHello,
In order to create language switcher you need to install WPML, then configure language switcher in a menu.
1. Create menu in Appearance > Menu
2. Create a language switcher in WPML > Languages http://prntscr.com/keuxez and assign it to the created menu http://prntscr.com/keuxje
3. Navigate to Header builder add secondary menu element http://prntscr.com/keuxq8 and choose the created menu http://prntscr.com/keuxu1
As for countries drop-down, it is just menu with links, repeat steps 1 and 2
Best Regards
August 5, 2018 at 11:13 am #71209
greenorbParticipantThanks a lot. But there’s another issue :-((((
Sorry for that.The Facebook-Login works fine on the English Page, if I switch the language to German (secondary language at WMPL) Facebook say there’s an error.
This is the message:
URL blocked: This redirection failed because the URI was not whitelisted for redirection in the app’s Client oAuth settings. Make sure client and Web OAuth login are enabled and add all your app domains as valid OAuth forwarding URIs.August 5, 2018 at 4:52 pm #71247
Elise NoromitMemberHello,
Please send us screenshots of Facebook settings.
Best Regards
August 5, 2018 at 5:13 pm #71249
greenorbParticipantYour wish is my order :-=
August 5, 2018 at 5:15 pm #71250August 5, 2018 at 8:53 pm #71269
Artem TemosKeymasterYou need to add similar URL in your Facebook APP settings for German version as well if you have different URLs for each language.
August 6, 2018 at 5:37 am #71287
greenorbParticipantI have to try this “https://mistervapeejuice.com/mein-konto/facebook/int_callback”
also with “?lang=de” and “/?lang=de” at the end. Nothing works.
There’s only an error (a single line, that says “Your are not logged in…”)If I try “https://mistervapeejuice.com/mein-konto/?lang=de/facebook/int_callback” it goes to FB-Login, but after try to do a login it redirects to the English Register-Page (…/my-account/…) and I’m not logged in.
August 6, 2018 at 6:14 am #71290
Artem TemosKeymasterCould you please add our account to the administrator’s list so we can try it?
August 6, 2018 at 6:17 am #71291
greenorbParticipantof course
August 6, 2018 at 6:18 am #71292
Artem TemosKeymasterSorry, we meant to add this user to Facebook APP administrators.
August 6, 2018 at 6:19 am #71293
greenorbParticipantwhat is you username? 🙂
August 6, 2018 at 6:26 am #71298
Artem TemosKeymaster.
August 6, 2018 at 6:32 am #71301
greenorbParticipantis it possible that is…
August 6, 2018 at 7:08 am #71315
Elise NoromitMemberHello,
Navigate to WPML, find “Language URL format” set “Different languages in directories”
Then, go Settings -> Permalinks tab -> Press “Save”
After that try to login via Facebook
Best Regards
August 6, 2018 at 7:15 am #71318
greenorbParticipantWorks perfect. Thank you so much for your support!
Awesome Theme and Team 🙂August 6, 2018 at 7:48 am #71321
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
The topic ‘Dropdown in Topbar’ is closed to new replies.
- You must be logged in to create new topics. Login / Register