shortcodes combination

Home Forums SKT Black/White Theme Support shortcodes combination

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  SKT Themes 2 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15309

    Frederic Desclos
    Member
    • Topics: 14
    • Replies: 45
    • Total: 59
    Member since: July 20, 2015

    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…

    #15321

    SKT Themes
    Keymaster
    • Topics: 2
    • Replies: 6453
    • Total: 6455
    Member since: June 12, 2013

    Yes 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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.