Viewing 1 replies (of 1 total)
  • add this to your theme functions.php

    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 );
Viewing 1 replies (of 1 total)

The topic ‘Remove query string from static content again’ is closed to new replies.