Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    If jQuery is not defined then something is interfering with jQuery. Did you create any filters or disable anything globally yet? If so get rid of all your filters and global settings.

    Thread Starter jkindness

    (@jkindness)

    I solved the problem. I was loading some custom javascript and I did not declare jquery as a dependency:
    Here is the solution in case anyone else has this problem:
    wp_enqueue_script(‘custom’, get_stylesheet_directory_uri() . ‘/custom.js’, array( ‘jquery’ ));

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘jQuery is not defined’ is closed to new replies.