• Hi,

    The dropdown language switcher in my website stopped working after upgrading from 1.7.12 to 1.8.2. Two strange facts:

    – It works when not using the dropdown option.
    – Using the dropdown option, it only works when translating from en to pt, but not the other way around. This is the code I’m using:

    <?php if (function_exists ("pll_the_languages")){ ?>
        <ul><?php pll_the_languages(array('dropdown'=>1));?></ul>
    <?php } ?>

    I tried to debug it and discovered that the translation_url attribute in the $links object (in include\switcher.php) is always null, and that’s why the script is not working.

    Thanks in advance.

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update to 1.8.2 caused dropdown switcher to stop working’ is closed to new replies.