This theme removes the query strings version appended by WordPress on the URL for CSS and JavaScript files. The theme should not do this as this can break many plugins, especially those that rely on the Google Maps API like Connections. This can easily be fixed by make two small edits to the theme’s functions.php file.
Look for this block of code near the beginning of the file:
function _remove_script_version( $src ){ // remove script version $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 ); |
Change it to this:
function _remove_script_version( $src ){ // remove script version $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 change keeps the theme from adding the filter that removes the query string.
NOTE: This FAQ was written based on Tersus 1.3.2 by NorthVantage