I believe bootstrap allows the use of collapses outside of an accordion-style set of collapses. If you do this using Bootstrap 3 Shortcodes, PHP will throw errors. If you changed the function bs_collapse to reflect the following changes, [collapse] would work fine with or without the surrounding [collapsibles] shortcode.
I believe bootstrap allows the use of collapses outside of an accordion-style set of collapses. If you do this using Bootstrap 3 Shortcodes, PHP will throw errors. If you changed the function
bs_collapse
to reflect the following changes,[collapse]
would work fine with or without the surrounding[collapsibles]
shortcode.Line 1321 (added test for global):
Line 1330 (removed
data-parent=""
wrapper from%4
):Line 1340 (add ternary to see if
$parent
was null, if not, added data wrapper back in):