• Hi!

    I’m trying to create jQuery Tabs with some clever “shortcoding” but I’m stuck at outputing my html-code in the right order. The problem is that I want to do this

    (HTML output from Action A)
    (HTML output from Action A)

    (HTML output from Action B)
    (HTML output from Action B)

    But now I get:

    (HTML output from Action A)
    (HTML output from Action B)

    (HTML output from Action A)
    (HTML output from Action B)

    I hope you guys understand my simplified problem: do “Action A” for all current shortcode elements in a row and then do “Action B” in a row.

    The code I’m trying to create looks something like this:

    <div id="ui-tabs">
    
    <ul>
    <li><a href="#tab-A">Tab A</a>
    <li><a href="#tab-B">Tab B</a>
    </ul>
    
    <div id="tab-A">Content of A</div>
    <div id="tab-B">Content of B</div>
    
    </div>

    Any help would be appreciated ??

  • The topic ‘Help with custom shortcodes’ is closed to new replies.