Site logo

[Resolved] Country selector dropdown menu

Home Forums Support [Resolved] Country selector dropdown menu

Home Forums Support Country selector dropdown menu

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2530086
    Jo

    Hi there, how are you?

    Is it possible to create a nifty country pull-down menu like that (https://www.lemonade.com/de on the bottom right hand side) with GenerateBlocks????

    #2530268
    David
    Staff
    Customer Support

    Hi there,

    no, language switchers are generally included with translation plugins like Polylang or WPML

    #2531069
    Jo

    Actually I am not looking for a language switcher. I will do a German and an English version and was just looking for an elegant and nice-looking way to switch from one version to the other and I liked the pull-down idea.

    #2531080
    Fernando
    Customer Support

    Hi Jo,

    You can create a Button Block and add it through a Block Element Hook hooked to your navigation.

    That’s one way you can add your own “switcher” for the German and English versions of the site. Reference: https://docs.generatepress.com/article/block-element-hook/

    #2533806
    Jo

    Hi Fernando, thank you for your help! Can I also INSERT a BUTTON within the NAVIGATION MENU?

    #2533809
    Fernando
    Customer Support

    Yes, depending on your Navigation. You can try the hook inside_navigation.

    #2533837
    Jo

    I see! Cool! 🙂
    Thanks!

    #2534838
    Fernando
    Customer Support

    You’re welcome, Jo!

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