This topic has 6 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #161397
     PascalP37
    Participant

    Bonjour,

     

    le thème ne s’affiche pas correctement sous IE11.

    Pas de défilement de page.

     

    Site très lent

    Remove query string no works 

    i use

    //Supprimer Query Strings

    function _remove_script_version( $src ){

    $parts = explode( ‘?ver’, $src );

    return $parts[0];

    }

    add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 );

    add_filter( ‘style_loader_src’, ‘_remove_script_version’, 15, 1 );

    #161530
     Laura
    Moderator

    Hello, can you explain a bit more in English please? 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #161575
     PascalP37
    Participant

    Google translate…
    https://translate.google.com/

    Hello,
    -The theme is not displayed correctly in IE11.
    No page scrolling.
    -Very slow site
    -Remove query string does not work

    #161821
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162137
     Radu
    Moderator

    Hi,

    Related to the slow site, make sure you have latest theme update, in past was some problems with that.

    For the remove query strings issue, we have fixed that but you will see that in next theme update,

    Until then add this function to wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    if ( sq_option( 'perf_remove_query', 0 ) == 1 ) {
    
        function pre_remove_query_strings_static_resources()
        {
            function remove_cssjs_ver($src)
            {
                if (strpos($src, '?ver='))
                    $src = remove_query_arg('ver', $src);
                return $src;
            }
    
            add_filter('style_loader_src', 'remove_cssjs_ver', 10, 2);
            add_filter('script_loader_src', 'remove_cssjs_ver', 10, 2);
        }
    
        add_action('init', 'pre_remove_query_strings_static_resources');
    }
    

    Just checked in IE11 and i-m able to scroll.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162153
     PascalP37
    Participant

    Thank you for your answer, and your solution.
    I have the latest version

    Pascal P

    #162432
     Radu
    Moderator

    You’re welcome

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?