Tag Info

New answers tagged

-1

put this code at the end of functions.php add_action('customize_register', 'customizer'); function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; return "$url' defer "; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );



Top 50 recent answers are included