• Hi everyone, i currently use polylang very well but have a small concern :

    https://vintagebuddies.com/fr/

    Like you see on my menu there is the language selector, my concern is about the fact that is not a dropdown menu. Indeed after few languages will be added, it will take all the menu, not really efficient.

    It is a bug on my site, or the design of ir ?

    Also if it is normal, i would like to know the way of changing it to dropdown.

    Cheers ??

    https://www.ads-software.com/plugins/polylang/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hi

    i would like to know the way of changing it to dropdown

    Use the pll_the_languages to display it in your menu.

    Thread Starter EBrockway

    (@ebrockway)

    Well i’m not sure how to use what you give me. i can set my arguments to what i whant right.

    But where to put the code ?

    Cheers.

    edit: basicly what i whant is a dropdown that display the langage you currently reading, and when mouse over, open thedropdown to see other availables languages.

    Plugin Support Chrystl

    (@chrystl)

    You can use in Menu the “Custom Links” metabox and put in sub-item the “Language switcher” metabox. It’s not a real dropdown but the effect is pretty nice.

    Thread Starter EBrockway

    (@ebrockway)

    Pretty nice, almost what i whant ! too bad it does not hide the language that we are currently on.

    Any idea to how add the flags to this dropdown or it is impossible ?

    Plugin Support Chrystl

    (@chrystl)

    Check “Hides the current language” in the Language switcher metabox.

    Thread Starter EBrockway

    (@ebrockway)

    omg ! i’m so noob i didnt even see those checkbox !

    Thanks for your patience !

    Thanks a lot, i got the language hide and the flag now, last flag missing the one in the menu the “custom link” thing, but i’m sure it is maybe impossible to do it

    Plugin Support Chrystl

    (@chrystl)

    last flag missing the one in the menu the “custom link” thing, but i’m sure it is maybe impossible to do it

    Sorry, I don’t understan maybe a copy screen could help?

    Thread Starter EBrockway

    (@ebrockway)

    https://www.dropbox.com/s/oh9w0tjzutbwssa/Capture%20d%27%C3%A9cran%202015-04-20%2014.52.58.jpg?dl=0

    in the screen i add the french flag next to the text of the dropdown, it dontappear in my website. only for the items in the dropdown.

    Cheers.

    Plugin Support Chrystl

    (@chrystl)

    in the screen i add the french flag next to the text of the dropdown

    I see what you want but I can’t help more, it’s pretty complex.

    Thread Starter EBrockway

    (@ebrockway)

    Lest say for example i trow this somewhere in the code :

    <?php pll_the_languages(array('dropdown'=>1',show_flags'=>1,'show_names'=>1,'hide_current'=>1)); ?>
    Does it will work ? and for getting that into the menu i guess i will have to do some css too ?

    Cheers.

    Plugin Support Chrystl

    (@chrystl)

    You won’t achieve that with pll_the_languages in your menu. See with your theme author if he can customize your language switcher or with a developer.

    Thread Starter EBrockway

    (@ebrockway)

    Ok thanks for the insight, the dev told me he cant support this plugin because it doesnt support taxomony.

    It is right ?

    Regards.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Language selector (issue or normal ?)’ is closed to new replies.