Hi Scott,
Try this code:
function remove_theme_version_strings( $src ) {
global $wp_version;
$theme_version = wp_get_theme(get_template())->get( 'Version' );
parse_str( parse_url($src, PHP_URL_QUERY), $query );
if ( !empty( $query['ver'] ) && $query['ver'] === $theme_version ) {
$src = remove_query_arg( 'ver', $src );
}
return $src;
}
add_filter( 'script_loader_src', 'remove_theme_version_strings' );
add_filter( 'style_loader_src', 'remove_theme_version_strings' );
Kindly note that since this is a custom code that changes the default behavior/display of the theme, you will be responsible to maintain or update the code in case you require further changes or if the code stops working in future updates. If you are uncertain how to proceed, it would be best to get in touch with a developer.
Hope this helps.