• Resolved Michael

    (@inflames87)


    Hello everyone,

    i have a problem with the nested tabs. I want to use tabs and subtabs.

    The first tabs will be years like 2020, 2019, 2018…..
    Subtabs on each main tab should be January, February…..

    I tried the following 2 possibilities:

    [su_tab title="2020" disabled="no"]
           [_su_tab title="March" disabled="no"] ] Content [_/su_tab]
           [_su_tab title="April" disabled="no"] ] Content [_/su_tab]
    [/su_tab]

    and the 2nd one:

    [su_tabs][su_tabs active="1"]
    [su_tab title="2020" disabled="no"]
       [_su_tabs][_su_tabs active="1"]
           [_su_tab title="March" disabled="no"] ] Content [_/su_tab]
           [_su_tab title="April" disabled="no"] ] Content [_/su_tab]
       [_/su_tabs]
    [/su_tab]
    [/su_tabs]

    That’s the same like in the docs section:

    “If you want to nest shortcodes with the same names anyway, then you should use underscore character “_” before the name of a nested shortcode, e.g.:

    [su_spoiler]
      [_su_spoiler] Content [_/su_spoiler]
      [_su_spoiler] Content [_/su_spoiler]
    [/su_spoiler] 

    What’s wrong with my version? Where is the mistake?

    Thank you

    • This topic was modified 6 years, 2 months ago by James Huff.
    • This topic was modified 6 years, 2 months ago by Michael.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vova

    (@gn_themes)

    Hello @inflames87,

    the answer is simple – Tabs shortcode does not support nesting, currently.

    Thread Starter Michael

    (@inflames87)

    Thank you for your answer Vladimir.

    Is there a chance, that it will become a feature in one of the following updates or maybe you now, when it will be an available feature?

    Thank you

    Plugin Author Vova

    (@gn_themes)

    It’s not a thing I plan to add in the closest future, sorry.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with Nested Tabs’ is closed to new replies.