• Resolved night119

    (@night119)


    how to add multiple Accordion?
    I added an accordion and tried to add another one, but the one inside didn’t work.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Andy Feliciotti

    (@someguy9)

    Hey @night119 are you trying to nest an accordion inside another accordion? This isn’t something I tested but I’ll see if I can make a bug fix!

    Thread Starter night119

    (@night119)

    yes and thank you!!

    Plugin Author Andy Feliciotti

    (@someguy9)

    @night119 Just tested a nested on my end and it works, do you have an example page I can look at to debug?

    Plugin Author Andy Feliciotti

    (@someguy9)

    @night119 I see the issue now, are you using the shortcode? works for me in blocks but not the shortcode version

    Thread Starter night119

    (@night119)

    I use shortcode,and I use it in classic editor.

    I am sorry I did not mention it,it works in blocks,but classic editor can not work.

    it is great if you can fix it , thank you??

    Plugin Author Andy Feliciotti

    (@someguy9)

    @night119 Got a fix! deploying, basically you’ll use the new [lightweight-accordion-nested] tag when nesting. Apparently it’s an issue with the WordPress shortcode processor, you can’t have shortcodes with the same name being nested.

    Example once 1.5.9 is out today: [lightweight-accordion title=”My Accordion”]My Content [lightweight-accordion-nested title=”My Accordion”]My Content[/lightweight-accordion-nested][lightweight-accordion-nested title=”My Accordion”]My Content[/lightweight-accordion-nested][/lightweight-accordion]

    So I am using lightweight-accordion for the main accordion and the lightweight-accordion-nested in the nested ones, all functionality remains the same between the shortcodes.

    Plugin Author Andy Feliciotti

    (@someguy9)

    1.5.9 out now w/ the fix ??

    Thread Starter night119

    (@night119)

    great!!!
    thank you very much!
    you are so good!

    Plugin Author Andy Feliciotti

    (@someguy9)

    Glad to help! I would appreciate a review of the plugin if you have time also

    Thread Starter night119

    (@night119)

    sure!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘multiple Accordion?’ is closed to new replies.