• Resolved pierrerodriguez

    (@pierrerodriguez)


    Hello,
    I’m facing an issue on flag display. I’m using default french and english flag. It seems the right URL to access the flag is:
    “/wordpress/wp-content/plugins/polylang/flags/fr_FR.png”

    But with the 3.6 version, when I display the page source code, the URL is:
    “/wordpress/fr/wp-content/plugins/polylang/flags/fr_FR.png”

    I do not know how to correct it…

    Please help ??

    Thank you

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

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

    (@chouby)

    Are you displaying flags from the polylang widget, the nav menus language switcher or from a custom way?

    Thread Starter pierrerodriguez

    (@pierrerodriguez)

    Hello,

    The two flags are displayed with widget. It works
    Fine with the nav bar.

    Thank you

    Plugin Author Chouby

    (@chouby)

    Could you provide a link?

    Thread Starter pierrerodriguez

    (@pierrerodriguez)

    Plugin Author Chouby

    (@chouby)

    How did you position the widget? You seem to use the plugin widgets on pages, but:
    1. It should not help you to put the widget in this position alone.
    2. It does not seem to be the origin of the conflict according to the quick test I made

    Thread Starter pierrerodriguez

    (@pierrerodriguez)

    Hello,

    I’ve also tried without “plugin_on_pages”. I get the same issue.
    You could have a look on https://s441380596.onlinehome.fr/wordpress/accueil/

    thanks for help,

    Plugin Author Chouby

    (@chouby)

    As mentioned above, I did not believe the problem is coming from widgets on pages. However, you are using the twenty eleven theme. As far as I know, widgets are not in this position with this theme. I believe that the issue is coming from a plugin conflict or the way you did use to put the widget in that position. How did you do?

    Thread Starter pierrerodriguez

    (@pierrerodriguez)

    Hello,

    I included in searchform.php (beacause the location of the search bar ws perfect), the function:

    <form id=”searchform”>
    <?php echo pll_home_url(); ?>
    <?php pll_the_languages(array(‘show_flags’=>1,’show_names’=>1)); ?>
    </form>

    Regards,

    Thread Starter pierrerodriguez

    (@pierrerodriguez)

    Hello,

    I proceed to some modification. I moved the function to the header.php, and it finally works fine.

    something probably changed in 3.6 version with searchform.php.

    Thank you for your help

    Regards

    Plugin Author Chouby

    (@chouby)

    Yes some things have changed in search form in WP 3.6.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘issue on flag since wordpress was updates to 3.6’ is closed to new replies.