Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #592103

    hi :-)

    if you look in the pic you will see a big problem with the urls generated with the enfold theme.
    there is an “?” always in between. this must go!

    https://drive.google.com/open?id=0Bwqo-KVcmEm0RnlqbTFXbWdyeWM

    #593239

    Hey Andreas!

    Thank you for using Enfold.

    This is a WordPress requirement in loading scripts and styles in order to make sure that there are no script conflicts, in plugins for example. https://developer.wordpress.org/reference/functions/wp_enqueue_script/

    Regarding the images, I’m not sure why it contains query strings. The theme doesn’t apply or do anything like that by default so it’s probably from a third party plugin. Please disable all plugins then test the site again.

    Cheers!
    Ismael

    #593261

    Thank you Ismael
    partly it seems to be the w3total cache plugin but not all of it :-)

    #593340

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter( 'style_loader_src', 't5_remove_version' );
    add_filter( 'script_loader_src', 't5_remove_version' );
    
    function t5_remove_version( $url )
    {
        return remove_query_arg( 'ver', $url );
    }

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.