Support » Plugin: TheThe Tabs and Accordions » [Plugin: TheThe Tabs and Accordions] active=false not working

  • Hi, love the plugin. I have used it on a few sites and they all worked great. For some reason, the “active=false” parameter quit working for all recently. You will have to set it to a number in order for the whole accordion to work. I even tried to disable all the plug-ins except this one, still wouldn’t work. Any input would be appreciated. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • by the way when “false” statement is used, the accordion displays everything all at once, or basically the functionality quit working.

    I resolved the same problem by editing in lib/class.js-accord.php this line:

    echo '$("#thethe-accord-'.($i+1).'").accordion({'. implode(',', $opts) .'});' . "\r\n";
    into this:

    echo '$("#thethe-accord-'.($i+1).'").accordion({'. implode(',', $opts) .',active: false});' . "\r\n";

    This way all the accordions on the site will be active:false on load, but this is ok for me

    little update..

    if you put active: false before implode action you can override it later in shortcodes

    Matt Lowe


    I’d also like to see this fixed. When I specify active=false it opens the last item. Tried all sorts:


    Can’t get it to work at all!



    I have the same issue than shoestringsites. When I place active=”false”, the last item is opened when you launch the page. I have found a way to avoid this : add a new tab item after the last one and place “” as title and as content. Then, everything is correct.
    It would be good to have this issue corrected in a new version of this plugin.
    btw, I found this plugin very interesting and will try to participate to improve it as much as possible.

    When you place a number greater then the accordions it is also working. For example; active=4 but in reality you have 3 accordions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: TheThe Tabs and Accordions] active=false not working’ is closed to new replies.