WordPress.org

Ready to get started?Download WordPress

Forums

Esquire
[resolved] JavaScript error in Esquire theme (jQuery is undefined) (2 posts)

  1. janeklb
    Member
    Posted 2 years ago #

    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' );

    http://wordpress.org/extend/themes/esquire/

  2. This was fixed in a recent update.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags