Salve a tutti, sto sperimentando forti rallentamenti a causa di questa jquery che viene richiamata ad ogni pagina. Ho provato ad eliminare la chiamata dal settings.php del mio tema mystique commentandola risolvendo praticamente nulla
function mystique_dynamic_css_and_js(){
$var = get_query_var(‘mystique’);
if ($var == ‘css’):
include_once(TEMPLATEPATH . ‘/lib/settings.css.php’);
exit;
/* elseif($var == ‘jquery_init’):
include_once(TEMPLATEPATH . ‘/js/init.js.php’);
exit; */
endif;
Potreste darmi qualche indicazione per rimuovere completamente il problema? Grazie in anticipo