Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1104185

    I get this error when trying to run any javascript. Even examples from moderators in the forum.

    jQuery is not defined

    New install of WP and Theme. No issues anywhere else on the site.

    • This topic was modified 5 years, 7 months ago by jakeostapes.
    #1104190

    Hi,

    A quick update. I have got jQuery working but have had to use enqueue to load a compatible version with the code below.

    wp_enqueue_script('jquery1', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js', array(), '2', false);

    Any idea why jQuery wasn’t loading from installation?

    Regards, Jake.

    #1104950

    Hi,

    Thank you for sharing this idea!

    Best regards,
    Basilis

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.