Home › Forums › SKT Black/White Theme Support › shortcodes combination
- This topic has 1 reply, 2 voices, and was last updated 8 years ago by
Sonnal S Sinha.
-
AuthorPosts
-
November 26, 2015 at 9:12 am #15309
Hi,
I’m trying to combine shortcodes withe no succes 🙁 Is there any reason for shortcodes not to be usable within shortcodes ?
Here is the content of my section :
[tabs]
[tab title=”TAB TITLE 1″]
[column_content type=”one_third” animation=”name of animation”]
Column 1 Content goes here…
[/column_content][column_content type=”one_third” animation=”name of animation”]
Column 2 Content goes here…
[/column_content][column_content type=”one_third_last” animation=”name of animation”]
Column 3 Content goes here…
[/column_content]
[/tab]
[tab title=”TAB TITLE 2″]
[column_content type=”one_third” animation=”name of animation”]
Column 1 Content goes here…
[/column_content][column_content type=”one_third” animation=”name of animation”]
Column 2 Content goes here…
[/column_content][column_content type=”one_third_last” animation=”name of animation”]
Column 3 Content goes here…
[/column_content]
[/tab]
[tab title=”TAB TITLE 3″]
[column_content type=”one_third” animation=”name of animation”]
Column 1 Content goes here…
[/column_content][column_content type=”one_third” animation=”name of animation”]
Column 2 Content goes here…
[/column_content][column_content type=”one_third_last” animation=”name of animation”]
Column 3 Content goes here…
[/column_content]
[/tab]
[/tabs]As a result I get the 3 tabs, and undernis the content of each tab…
November 26, 2015 at 1:33 pm #15321Yes because shortcodes come from a single loop of posts. Running a loop within a loop will create an infinite loop so the page will keep on loading.
Hence the reason.
Regards,
Shri -
AuthorPosts
- You must be logged in to reply to this topic.