Problem with Nested Tabs
-
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
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Problem with Nested Tabs’ is closed to new replies.