[Plugin: Shortcodes Ultimate] Using shortcode in theme
-
First of all, fantastic plugin, works like a charm.
Anyway, my question is, using the
do_shortcode()
function, how would I set it up for the tabs? I’ve tried this but it seems to append the[/gn_tab][/gn_tabs]
after the text of my content.This is what I have:
<?php echo do_shortcode( '[gn_tabs]' ) ?> <?php echo do_shortcode( '[gn_tab title="content title"]' ) ?> <?php echo do_shortcode( 'shortcode to my content' ) ?> <?php echo do_shortcode( '[/gn_tab]' ) ?> <?php echo do_shortcode( '[/gn_tabs]' ) ?>
I’ve tested using the other shortcodes and they work find, i.e. displaying the bloginfo.
Any help would be most appreciated. Once again thank you for a fantastic plugin!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: Shortcodes Ultimate] Using shortcode in theme’ is closed to new replies.