Support » Fixing WordPress » Plugin shortcode help?

  • alecwild



    I’m using the postTabs plugin, and am having trouble getting *some* shortcodes from other plugins (like nextGen gallery) to work *inside* the postTabs shortcode. Is there a way to execute a shortcode within a shortcode? Where can I fix that?

    Thanks for the help in advance!


Viewing 3 replies - 1 through 3 (of 3 total)
  • tslice


    Have you read the shortcode api codex?
    I’m not familiar with either shortcode or their usage, but the functionality you’re looking for may not be supported.




    Yes, it is supported . . . I tried to input

    function tab_shortcode( $atts, $content = null ) {
    return ‘<span class=”tab”>’ . do_shortcode($content) . ‘</span>’;

    add_action(‘thesis_hook_after_content’, ‘tab_shortcode’, ’11’);

    into my custom_functions.php, but to no avail.

    Can anyone help me with where this code should go?




    I feel certain that I just need to add the do_shorcode($content) action to the postTabs script. Can anyone tell me how/where to add it?

    You can download the script here:


    Please help if you can!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin shortcode help?’ is closed to new replies.