JavaScript error in Esquire theme (jQuery is undefined)
-
If you’re seeing this, edit
esquire_scripts()
function (in functions.php) and change:wp_enqueue_script( 'esquire', get_template_directory_uri() .'/js/esquire.js', 'jquery', '2011-07-29' );
To
wp_enqueue_script( 'esquire', get_template_directory_uri() .'/js/esquire.js', array('jquery'), '2011-07-29' );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JavaScript error in Esquire theme (jQuery is undefined)’ is closed to new replies.