• If you build tabs with an accordion nested inside, the accordion won’t work if it’s placed on the first tab. It will work, if place inside the next tabs, though.

    Everything will display nicely, only the accordion won’t work.

    This won’t work:

    [tabs]
    [tab title="Tab 1 Title"]
    [accordion]
    [accordion_item title="Accordion Item 1 Title"]
    Accordion item 1 content goes here.
    [/accordion_item]
    [accordion_item title="Accordion Item 2 Title"]
    Accordion item 2 content goes here.
    [/accordion_item]
    [accordion_item title="Accordion Item 3 Title"]
    Accordion item 3 content goes here.
    [/accordion_item]
    [/accordion]
    [/tab]
    [tab title="Tab 2 Title"]
    Tab 2 text goes here.
    [/tab]
    [/tabs]

    While this will work:

    [tabs]
    [tab title="Tab 1 Title"]
    Tab 1 text goes here.
    [/tab]
    [tab title="Tab 2 Title"]
    [accordion]
    [accordion_item title="Accordion Item 1 Title"]
    Accordion item 1 content goes here.
    [/accordion_item]
    [accordion_item title="Accordion Item 2 Title"]
    Accordion item 2 content goes here.
    [/accordion_item]
    [accordion_item title="Accordion Item 3 Title"]
    Accordion item 3 content goes here.
    [/accordion_item]
    [/accordion]
    [/tab]
    [/tabs]

    Please help.

    https://www.ads-software.com/plugins/easy-responsive-shortcodes/

  • The topic ‘Accordion nested in Tab – 1st won't work’ is closed to new replies.