- This topic has 5 replies, 3 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
February 23, 2023 at 9:46 am #2544333
Utopia – Arquitectura e Engenharia Lda
Hi,
We need this layout for the wpml language switcher (shortcode) :
https://www.utopia-projects.com
Basically is a second menu with a different icon that toggles the language switcher.
Then we need to make it sicky ( 1st menu, logo and wpml menu)How can we achieve this with generatepress?
February 23, 2023 at 11:16 am #2544446Ying
StaffCustomer SupportWe need this layout for the wpml language switcher (shortcode) :
I’m not seeing a secondary navigation or language switcher in the link you provided.
Can you explain a bit more or show us a mockup?
February 26, 2023 at 6:58 am #2547397Utopia – Arquitectura e Engenharia Lda
Hi Ying,
Thank you very much for your reply.
Here is the desktop and mobile prints with language swicher identified as 2nd and the main menu identified as 1st.February 26, 2023 at 5:31 pm #2547927Ying
StaffCustomer SupportIs this link your site? https://www.utopia-projects.com
I’m confused, it’s not using GP.
Let me know if I miss anything.
February 27, 2023 at 3:20 am #2548337Utopia – Arquitectura e Engenharia Lda
That site is the one we are trying to rewrite using generatepress.
That site is not using generatepress.
But we want to reproduce the layout on that site.
That’s why I asked “How can we achieve this with generatepress?” on my first post.
I am sorry for the misunderstanding.February 27, 2023 at 7:46 am #2548611David
StaffCustomer SupportHi there,
we can’t do the slide-in menu for WPML, that would require Custom Development.
To add the WPML language switcher ( i assume that is using a shortcode ):
1. Appearance > Elements -> Add New –> Hook:
https://docs.generatepress.com/article/hooks-element-overview/
2. Add you Shortcode to the text area.
3. Set the Hook to
generate_menu_bar_items4. Check Execute Shortcodes
5. Set the Display Rule > Location to
Entire Site6. Publish the element
That will add the WPML Switcher after the main nav on desktop and mobile.
If you want to set that up, and share the link to that GP Site, ill provide the steps to arrange the mobile layout you want
-
AuthorPosts
- You must be logged in to reply to this topic.