• Resolved tommikk79

    (@tommikk79)


    Hello

    Is it possible to make a custome language switcher in this plugin.

    When i add the shortcode i get a dropdown selector.

    I want to have it to just be shortname and look like this, shortname / shortname (../..)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I’m not sure if I understood correctly.
    Do you want language 1 / language 2 to appear in the menu insteed the dropdown selector?
    If this is correct go to:
    WordPress Dashboard => Appearance => Menus

    Select the menu you want to add the languages too and Select Language Switcher from the side bar.

    Add to the menu the first language and the second then save.

    That should solve your case

    But if that’s not what you meant, please come back with additional information so I can come up with the most appropriate answer to the question.

    Kind regards,

    Thread Starter tommikk79

    (@tommikk79)

    Hello again. it is not the menu i am talking about. I have 2 language on my site. One for norwegian and one for english. No/en

    If i use a custom HTML i widget header i got a selector with dropdown. I only want the links to stay in the header as shortnames like this NO / EN with the links to norwegiansite in NO and the opposite on english :).

    Thread Starter tommikk79

    (@tommikk79)

    Hello

    In this case, you can add from:
    Wordpress Dashboard -> Appearance -> Menus -> Language Switcher -> the two languages side by side.

    And if you want a dash between them you will need to add a small css snippet in the Additional CSS Tab as long with a unique class that every menu element have.

    Right click on the menu to which you want to add a dash -> Copy the menu id. in my case this is “menu-item-204” then go to the Aditional CSS.

    WordPress Dashboard -> Appearance -> Customize -> Additional CSS

    Then add this css to it:

    .menu-item-204 a::after {
    	content:"/";
    }

    Note: Even if in my case the unique id of that menu button is “menu-item-204” most likely you will have a variation.

    P.S – What I offered you there is a small template that you can later modify at will. To edit that code you will need some CSS knowledge.

    If you have other problems related to the plugin, please address them to me

    Kind regards,

    Thread Starter tommikk79

    (@tommikk79)

    Hello again.

    I do not want them in the menu.

    I will have them in my header. But if i put the shortcode in a html in header i get a dropdown meny. with two flags.

    I only want the shortnames in the header. Not the flags. and not a dropdown. Just two links on NO and EN.

    I do not have the option to add side by side in the menu. Do i need the pro version?

    Hello,

    Unfortunately I don’t know if you use a page builder or use vanilla. I also don’t know how your header is created. whether it is included in the theme or not. maybe you can help me with a photo to better understand your theme?

    A photo to the header section would be much appreciated.

    Cheers,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom language switcher’ is closed to new replies.