Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter weiover

    (@weiover)

    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

    (@shoestringsites)

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

    active="false"
    active=-1
    active=""

    Can’t get it to work at all!

    Hello,
    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.