WordPress.org

Ready to get started?Download WordPress

Forums

Mini Loops
Miniloops inside another shortcode (3 posts)

  1. gn.ozdemir
    Member
    Posted 2 years ago #

    First I want to thank you for this limitless plugin! Thank you!

    Now let me tell the problem. I am using sws sliding tabs to generate tabs. I want to combine your loop with the tabs. Here is what the tabs normally look like.

    [sws_hor_stab width="0" height="0" contentAnim="slideH" contentAnimTime="600" easing="easeInOutExpo" autoHeight="false" autoHeightTime="400" autoplay="false" autoplayInterval="4000" auto="" buttonsFunction="slide" tabSaveState="false" tabsAnimTime="300" tabsEasing=""][h_stab_panel title="This is title for tab #1" rel=""]This is content of tab #1 [/h_stab_panel] [h_stab_panel title="This is title for tab #2" rel=""]This is content of tab #2 [/h_stab_panel] [/sws_hor_stab]

    And here is what I turn it into:

    [sws_hor_stab width="0" height="0" contentAnim="slideH" contentAnimTime="600" easing="easeInOutExpo" autoHeight="false" autoHeightTime="400" autoplay="false" autoplayInterval="4000" auto="" buttonsFunction="slide" tabSaveState="false" tabsAnimTime="300" tabsEasing=""][miniloop before_items='[h_stab_panel title="[title]"]' after_items='[/sws_hor_stab]'][miniloop][excerpt wlength=30 space_between=1 after="..." after_link=1][/h_stab_panel][/miniloop][/miniloop][/sws_hor_stab]

    However it does not work :/ What should I do? Please consider that I am not so good at coding at all.

    http://wordpress.org/extend/plugins/mini-loops/

  2. Kailey (trepmal)
    Volunteer Mod & Reviewer
    Plugin Author

    Posted 2 years ago #

    Nested shortcodes are not supported directly by WordPress. In order to allow it, the outer shorcode (sws) would have to be modified and told to process shortcodes inside.

    I'm not familiar with sws, so I don't know if that plugin has an alternate means already built in.

  3. gn.ozdemir
    Member
    Posted 2 years ago #

    Thank you. That at least give an idea. I will take a look to nested shortcodes.
    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic