Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Chouby

    (@chouby)

    Could you provide a link?

    Thread Starter Thror

    (@thror)

    Plugin Author Chouby

    (@chouby)

    I am sorry, I will be a bit technical.

    Based on the source code of your page, I believe that your theme is using a custom walker to display nav menus. In this custom walker, html characters are escaped. < is transformed to & lt; and > is transformed to & gt; (without the space in the special codes). Thus the html code used by Polylang to display flags is not interpreted and displayed directly on the screen.

    This kind of problem does not exist with the orignal walker provided by WordPress ant that most themes use.

    A quick fix is to replace the flags by the language names in the language switcher options.

    After that, you will have to contact the support of your theme to ask them how to avoid html characters escaping in nav menus (since you want to display an image in a menu item). This may need a slight modification of your theme code.

    Thread Starter Thror

    (@thror)

    Rumors that with just previous version of Polylang all was perfect. And it was the only update I did. Can u send me prev version on [ redacted, support is offered via the forum and not email ]?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    You can download previous releases of any plugin on it’s developers page.

    http://wordpress.org/extend/plugins/polylang/developers/

    Plugin Author Chouby

    (@chouby)

    Yes it is possible that it worked in previous versions, because I changed the way the language switcher is added to menus.

    Previously, the language switcher was added after the menu was completely built by WordPress. Now the language switcher is part of the menu built by WordPress.

    Normally, it should work in more cases now. But your theme is a special case, since it prevents pictures in menu items.

    hi
    in my case- RichWpPortfolio theme- the menu also wouldnt switch anymore to the second language. the other pages did.
    Had to downgrade to version 1.04, because my theme administrator advised for separate installations for different languages.
    It would be nice to somehow fix that for the next upgrade, or at least announce,
    with which themes, the upgrade doesnt work anymore
    thanks

    Plugin Author Chouby

    (@chouby)

    @daniel1008, your problem seems different. Could you provide a link demonstrating the issue?

    I can’t imagine how I could test all themes.

    @chouby, thanks it works now, I installed back 1.04 and then back to 1.1, but now everything is perfect. I was just very nervous this morning:-)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Polylang 1.1 Language swticher BUG’ is closed to new replies.