• Resolved fassrl

    (@fassrl)


    Hi,
    after the update to 1.8, the flags for selecting language now appear only on the english pages of the website, but are disappeared from the pages in other languages (italian and french, default language is italian). For showing the flags I am using this php code
    <ul><?php pll_the_languages(array('show_flags'=>1,'show_names'=>0,'hide_if_no_translation'=>1)); ?></ul>

    in the header.php of my child theme

    https://wordpress.org/plugins/polylang/

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

    (@chrystl)

    Hi
    Do you use some custom flags?

    Thread Starter fassrl

    (@fassrl)

    No, I haven’t touched anything. Before the update the flags appeared in every page, now only in english pages

    Plugin Support Chrystl

    (@chrystl)

    So you use the Polylang flags.
    Do your flags appear in the language list administration?

    Thread Starter fassrl

    (@fassrl)

    http://snag.gy/3wcwG.jpg

    If you mean from this page, yes, they are showing

    Plugin Support Chrystl

    (@chrystl)

    OK, thanks.
    Could you check if your pages, posts are well linked by the translation, you must have a pen icon instead a plus sign.

    Thread Starter fassrl

    (@fassrl)

    Yes, I attach a screenshot

    http://snag.gy/U76Uu.jpg

    Plugin Support Chrystl

    (@chrystl)

    Is it possible to have a link to your site?

    Thread Starter fassrl

    (@fassrl)

    Sure.

    Home Page

    This is a page in italian where there aren’t the flag in top right corner

    This is the same page in english, and you see the flags in top right corner

    Plugin Support Chrystl

    (@chrystl)

    Did you make other updates (theme, plugins, WP)?

    In W3 Total Cache, could you reset each cache as Database cache, Object Cache, Page Cache?

    Thread Starter fassrl

    (@fassrl)

    In the last days I have updated only the WordPress translation.

    Database and Object Cache are disabled, I’ve done the Page Cache reset but the problem persists

    Plugin Support Chrystl

    (@chrystl)

    Could you provide a screenshot of your wp_term_taxonomy table where is stored the translation of your 3 home pages for example? See the example : http://nimb.ws/jLJ5xY
    In the example the page id 16 for a French page is noted: "fr";i:16.

    Thread Starter fassrl

    (@fassrl)

    Here the screenshot

    http://snag.gy/CLlym.jpg

    This is the full content of the row

    a:3:{s:2:"fr";i:12172;s:2:"it";i:10709;s:2:"en";i:12170;}

    Plugin Support Chrystl

    (@chrystl)

    1) Could you test with another theme (Twenty Fifteen) + only Polylang, with the other plugins deactivated + a language switcher widget (with the same option: Hides languages with no translation)?

    2) If it works, could switch on Avada + only Polylang?

    3) Then if it works, could reactivate one by one your plugins by testing at each time that all is working?

    Thread Starter fassrl

    (@fassrl)

    1)I’ve activated twenty fifteen theme + Polylang and a language switcher widget and it works, widget on left sidebar

    http://snag.gy/1VxK3.jpg

    2) When I activate Avada, the language selector doesn’t appear anymore

    Plugin Support Chrystl

    (@chrystl)

    As Polylang is freely available but not Avada, could you contact the Avada support in order to they test their last version Avada 3.9.2 with the last Polylang version 1.8?
    They will be able to find what’s going wrong.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Flags for selecting language disappeared after 1.8 update’ is closed to new replies.