Hi
Could you tell me if it is possible to clear up the following query strings? Some of them seem associated to the theme; and I have run a plugin already…
Thanks!
Charles.
Hi
Could you tell me if it is possible to clear up the following query strings? Some of them seem associated to the theme; and I have run a plugin already…
Thanks!
Charles.
Hi Charles,
You may add this code to the functions.php of the child 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 );
Important! Editing the source code of a WordPress theme could break your site if not done correctly. If you are not comfortable doing this, please check with a developer first.
Hope this helps.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.