WordPress.org

Support

Support » Themes and Templates » [Resolved] jQuery not loaded on Sundance 1.1

[Resolved] jQuery not loaded on Sundance 1.1

  • I updated my Sundance theme to version 1.1 and immediately noticed that the video carousel stopped working. The carousel gets stuck at the loading icon.

    After some investigation through the browser’s developer console, I found out that “jQuery is not defined”.

    I suspected that the jQuery file is not loaded. I went on to check the diffs between v1.0 and v1.1.

    I noticed that this line is removed from the new version:
    wp_enqueue_script( 'jquery' );

    The video carousel works again after adding the code above back to where it was in v1.0.

    Please check if this is a valid bug.

Viewing 7 replies - 1 through 7 (of 7 total)
  • This looks like you did good

    I have the same issue. It drives me a little crazy. THANKS A MILLION HERO ceyiho. Your solution works like charm!

    I also want to add that the change is to be made in v1.1 file functions.php located here public_html/wp-content/themes/sundance/ just under line 154.

    Same thing here. There is definitely something amiss about the enqueuing of jQuery, but the really weird thing is that the slider works in the Theme Customizer. I’m assuming jQuery is called by the Theme Customizer and the theme piggybacks onto that instance so that the slider works.

    @mor10: I also noticed that when investigating the problem and came to the same assumption.

    I’d like to hear from Automattic theme developers about this issue. Do they even monitor the theme’s Support forum?

    We need to file a bug in trac.

    I don’t have TICKET_CREATE permission in themes.trac. However I do have such permission in core.trac, but I don’t know if core is the right place to file a ticket.

    Hi there, thank you for bringing it to our attention!
    We’ve made a couple changes that should take care of the issue and submitted them for review. The ticket is currently first in line to get reviewed, so the update should be available shortly. I am very sorry for the trouble!

    Have a Happy New Year!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] jQuery not loaded on Sundance 1.1’ is closed to new replies.