• Thank you very much for all the work you have done. The flags are exceptionally beautiful now.

    However, I don’t think I’m going to upgrade. The flags are loading too slowly.

    I have 4 flags horizontal.
    When I load the site I see the flags vertically first with a dot in front.

    .flag 1
    .flag 2
    .flag 3
    then half a second later
    .flag 4

    and then they switch to horizontal.

    That takes 2 seconds together.
    It was already clearly visible with the previous version. It was already slow.
    Now it is much too slow.

    Hope you can resolve this problem.

    Randon

    • This topic was modified 3 years, 1 month ago by randon.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pacotole

    (@pacotole)

    It is strange, we have not been able to reproduce that problem.

    You can try this to disable base64 flag encoding (add in your theme functions.php):

    if ( ! defined( 'PLL_ENCODED_FLAGS' ) ) define( 'PLL_ENCODED_FLAGS', false );

    Thread Starter randon

    (@randon)

    Hi,

    I did this but now I only see the 4 vertical dots and no more flags

    Randon

    Thread Starter randon

    (@randon)

    Do you have any idea how I can fix this so I can upgrade too?

    Plugin Author Pacotole

    (@pacotole)

    Hi!

    Seeing this report in github I remembered your case. The language selector styles are loaded at the bottom of the page. You can try with this code to load them before:

    add_action( 'elementor/frontend/after_enqueue_styles', function(){
        wp_enqueue_style( 'cpel-language-switcher' );
    } );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Version 2 is slower than the previous one’ is closed to new replies.