Tagged: x
-
AuthorPosts
-
January 27, 2017 at 9:35 am #1347843
LumoDesignParticipantHi,
I’ve placed the short code for an accordion list inside of an accordion.
But when I open the accordion all the accordion inside are open. How do I change the short code so that they all stay closed until clicked on.
The accordion is on this page http://cmr.flywheelsites.com/literature/ under [Company Literature] and then [Dealing Forms]
I’ll post the login details in a hidden post after this.
Wordpress 4.7.1
Cornerstone 1.3.3
X Theme 4.6.4Thanks in advance.
Ed 🙂
January 27, 2017 at 9:36 am #1347849
LumoDesignParticipantThis reply has been marked as private.January 27, 2017 at 5:31 pm #1348305
FriechModeratorHi Ed,
Thanks for writing in! Please put an
open="false"attribute on your[x_accordion_item]shortcode.e.g.
[x_accordion] [x_accordion_item title="Accordion Item 1" open="false"]Add some content to your accordion item here.[/x_accordion_item] [x_accordion_item title="Accordion Item 2" open="false"]Add some content to your accordion item here.[/x_accordion_item] [/x_accordion]Hope it helps, Cheers!
January 30, 2017 at 9:31 am #1350884
LumoDesignParticipantHi,
I had already put in the
open="false"attirbute.It hasn’t changed.
I’ve noticed that you have an x_ in front of accordion like this [x_accordion] should this make a difference?
Thanks
Ed
January 30, 2017 at 10:36 am #1350983
RupokMemberHi there,
Thanks for writing back. Yes new shortcodes includes preceding x_ however the old one still should work. Let’s try with x_.
Cheers!
January 30, 2017 at 11:05 am #1351032
LumoDesignParticipantI did try with x_accordion on all places where accordion was but it un-embedded the the accordions out of the accordion that i have them in.
January 30, 2017 at 11:06 am #1351033
LumoDesignParticipantAlso you have now added a full stop ??? like x_.accordion is that correct?
January 30, 2017 at 1:35 pm #1351242
Nabeel AModeratorHi again,
Sorry for the confusion. Unfortunately, nesting accordions is not supported. You’ll need to find an alternative way to display your data.
Thank you for understanding!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1347843 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
