shortcodes combination

Home Forums SKT Black/White Theme Support shortcodes combination

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15309
    Frederic DesclosFrederic Desclos
    Member
    • Topics: 15
    • Replies: 45
    • Total: 60
    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
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    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.