• Resolved Aglae

    (@aglae)


    Hello
    I need to put bigger flags.
    So I followed the method described on the page https://polylang.pro/doc/the-language-switcher/ in point 4.2.

    1 / I created 2 flags in size 50×30 px in png format (en_GB.png and fr_FR.png) I also tried to name them (en.png and fr.png)

    2 / in / wp-content / plugin / polylang / I created a folder “myflags” in which I placed my 2 custom flags
    I also try to put this folder at the root of wp-content in a folder I created which is called “polylang” (to have exactly like you when you write: “Then upload this file in the / wp-content / polylang / directory”).

    3 / I went to my WordPress dashboard:
    Settings > Languages > Settings tab > URL modifications module and I clicked on “Save changes”

    Custom flags are not displayed on the front office.
    I always have the old flags.

    I emptied the cache of my wordpress, emptied the wpengine cache, nothing changes, I always have the old flags.

    What’s wrong?
    Has the procedure changed?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Aglae

    (@aglae)

    For information I do not use the pro version

    anonymized-13603639

    (@anonymized-13603639)

    The solution ist: follow the description!

    It is possible to use your own images as flags. You have to use PNG or JPG files and name them with the WordPress locale. For example, <strong>en_GB.png</strong>. Then upload this file in the <strong>/wp-content/polylang/</strong> directory (create the directory if it does not exist). Don’t use the /polylang/flags/ directory as your file would be removed when automatically updating the plugin.
    
    Once the custom flag is uploaded, go in Settings > Languages > Settings tab > URL modifications module then click on <strong>save changes</strong>. Note that your custom flags are not used on admin side.

    USe the right folder and use the right file name.

    • This reply was modified 6 years, 11 months ago by anonymized-13603639.
    • This reply was modified 6 years, 11 months ago by anonymized-13603639.
    Thread Starter Aglae

    (@aglae)

    Thank’s for your help
    Can you have a look on my other topic, all I need is to bill my client : polylang : Custom post types don’t show Timeline Express Announcements

    Hi @algae,

    If your still facing issues getting that option visible, please feel free to email us via the contact form on our site and we will be more than happy to dig in, take a look, resolve the issue and get you paid.

    In our testing the Checkbox option is visible assuming you have enabled custom post type support within polylang.

    https://www.wp-timelineexpress.com/contact/

    Just let us know the issue and we’ll be happy to help you out, and allow you to bill your client today.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Own flag doesn’t change’ is closed to new replies.