WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ceyiho
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    This looks like you did good

  3. dunnleaddress
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    We need to file a bug in trac.

  7. ceyiho
    Member
    Posted 1 year 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. 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

Tags

No tags yet.