Any expert who knows about removing Remove Query Strings From Static Resources plugin? It's not working.
Also, I have tried to write this code in function.php
file of my theme
function _remove_script_version( $src ){
$parts = explode( '?', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
This is also not working for me.
I have also unchecked "Prevent caching of objects after settings change after settings change" in W3 Total Cache, but I'm still getting the same result in GTMetrix.
Can anybody help me? I am using the Twenty Twelve theme. I have also tried the same techniques in other themes.