[resolved] jQuery not loaded on Sundance 1.1 (8 posts)

  1. ceyiho
    Posted 3 years ago #

    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.

  2. noahjonah
    Posted 3 years ago #

    This looks like you did good

  3. dunnleaddress
    Posted 3 years ago #

    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.

  4. Morten Rand-Hendriksen
    Posted 3 years ago #

    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.

  5. ceyiho
    Posted 3 years ago #

    @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?

  6. Morten Rand-Hendriksen
    Posted 3 years ago #

    We need to file a bug in trac.

  7. ceyiho
    Posted 3 years ago #

    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.

  8. Konstantin Obenland
    Code Wizard
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.