Site logo

[Support request] Wpml language switcher on second menu with sticky navigation

Home Forums Support [Support request] Wpml language switcher on second menu with sticky navigation

Home Forums Support Wpml language switcher on second menu with sticky navigation

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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?

    #2544446
    Ying
    Staff
    Customer Support

    We 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?

    #2547397
    Utopia – 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.

    https://ibb.co/ysjk7ZQ

    https://ibb.co/XpmMP0x

    #2547927
    Ying
    Staff
    Customer Support

    Is this link your site? https://www.utopia-projects.com

    I’m confused, it’s not using GP.

    Let me know if I miss anything.

    #2548337
    Utopia – 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.

    #2548611
    David
    Staff
    Customer Support

    Hi 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_items

    4. Check Execute Shortcodes

    5. Set the Display Rule > Location to Entire Site

    6. 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.