Viewing 1 replies (of 1 total)
  • Plugin Author cubecolour

    (@numeeja)

    You can use any shortcode in a template using the do_shortcode function. See http://codex.wordpress.org/Function_Reference/do_shortcode

    eg:

    <?php
    echo do_shortcode('[tabby title="One"]');
    // First tab content here
    
    echo do_shortcode('[tabby title="Two"]');
    // Second tab content here
    
    echo do_shortcode('[tabby title="Three"]');
    // Third tab content here
    
    echo do_shortcode('[tabbyending]');
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Use in page templates?’ is closed to new replies.