-
AuthorPosts
-
May 28, 2014 at 9:00 am #49261
I only want to open one accordion at a time.
I used this code on two different sites with the latest release of X and latest release of wordpress but when one accoridan opens, it does not close the other?I have done this before..is this a new bug?
http://stevemademywebsite.com/
[accordion id="my-accordion"][accordion_item open="true" parent_id="my-accordion" title="Accordian 1"]Accordian 1 text[/accordion_item][accordion_item parent_id="my-accordion" title="Accordian 2"]Accordian 2 text[/accordion_item][accordion_item parent_id="my-accordion" title="Accordian 3"]Accordian 3 text[/accordion_item][/accordion]
May 28, 2014 at 8:59 pm #49554Hi Steve,
Thank you for dropping by!
There is no toggle option for X accordion, so you will need extra javascript for that.
Add this javascript at your customizer’s custom javascript.
jQuery(function($){ $('.x-accordion-toggle').click(function(){ $('.accordion-body').not( $(this).attr('href') ).collapse('hide'); }); });
Hope this helps.
May 29, 2014 at 2:35 am #49668I had the same problem so I used this script in my customizer. It works but comes with a caveat.
Since I have one item as open by default, when I click on any other closed item for the first time, all the closed item opens and the opened one closes.
I click again and all the open ones – closes
Click again on any one and its all fine from here on in.
Thanks for the script anyway.
EDIT: I have now reverted back to shortcode version 2.2.2 and everything seems fine running Theme version 1.8.5
May 29, 2014 at 11:39 am #49896In the knowledge base, the video of accordion shows how to do this. It has always worked in the past. I also tried the javascript and had the same problem mentioned by Deepak above. I guess I will try going back to shortcode version 2.2.2 and see if that fixes back to how your video tells us to do it.
Please report this new bug! or remove the accordion video if this feature is no longer supported.
May 29, 2014 at 12:18 pm #49919Thank you all for writing in! This has been noted and we will take a look into this matter and see what we can find out for the next release.
June 2, 2014 at 7:04 am #51233I had the same issue and was tearing my eyes out trying to figure out what was wrong in the page code.
I rolled back to version 2.2.1 and the accordions now collapse as expected – no javascript needed.
This appears to be a bug introduced in the last updated (or two) of shortcodes.
June 2, 2014 at 8:06 am #51262Hi guys,
I’m about to create a FAQ page, so I will be using the accordion shortcode. I’m running the very latest version of the theme (2.0.0) and shortcodes (2.3.0). If I want my accordions to work properly, do I need to roll back just the shortcodes, or both the shortcodes and theme? I’m a bit confused at this point. If you can suggest specific versions, that would help. NOTE: I always work with the child theme and assume that has no bearing on the matter.Thanks,
MichaelJune 2, 2014 at 11:02 pm #51575Hey guys,
We’re investigating the issue. You can revert back to the previous version for now.
Thanks.
June 3, 2014 at 11:58 am #51833Thank you, but I was asking for a little more specifics. Do I need to revert back to the previous version of the theme, the shortcodes, or both?
June 4, 2014 at 5:47 am #52153Hey Michael,
Just roll back to the version 2.2.2 of the shortcode, no need to touch your theme version.
Hope this helps you better.
Thank you.
June 4, 2014 at 7:45 am #52192Ok, thanks for the clarification.
Michael
June 4, 2014 at 1:46 pm #52392You’re welcome Michael.
June 7, 2014 at 5:34 pm #53649Where can I download version 2.2.2 of the short code plugin?
June 8, 2014 at 8:25 pm #53877Hi Tim,
As of this moment, I can’t provide you a download link for older version of shortcode plugin. But I will ask my colleague if its possible to get this file.
For the mean time, if you still have copies of older theme from previous downloads then you could extract it and find the plugins at /x/framework/plugins/ and check if 2.2.2 is available.
Thank you.
June 10, 2014 at 6:00 am #54468I just purchased the theme so I have this 2.2.2 version.
I downgraded to 2.3.0 but it doesn’t work.
When will be possible to have a link to download 2.2.2 or to have it solved in a newer version?
Thanks!
-
AuthorPosts