jQuery UI Widgets
Accordion not working (2 posts)

  1. maxw89
    Posted 2 years ago #


    I'm trying to add a jQuery accordion using jQuery UI Widgets to my WordPress 3.8.1 site with Genesis Theme 2.0.1 but the widget isn't loading at all.

    My custom jQuery code entered in plugin settings is:
    jQuery(document).ready(function($) {
    $( "#accordion" ).accordion({
    collapsible: true

    An my HTML-code is:
    <div id="accordion">
    <h3>Section 1</h3>

    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
    ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
    amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
    odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.


    Could it be a problem with the theme blocking the script? Thankful for any assistance!


  2. David Gwyer
    Plugin Author

    Posted 2 years ago #

    I would take a look at your site (in say Chrome) and use the browser inspector tools to see what the JS error is. There may be a conflict with the theme or other Plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic