How to insert into template?
-
How Can I get this to work in a template file, I am trying to add it via using do_shortcodes feature but it is not working.
<?php echo do_shortcode(“[tabs]”); ?>
<?php echo do_shortcode(“[tab title=’First Tab’]”); ?>Content for tab one goes here.<?php echo do_shortcode(“[/tab]”); ?>
<?php echo do_shortcode(“[tab title=’Second Tab’]”); ?>Content for tab two goes here.<?php echo do_shortcode(“[/tab]”); ?>
<?php echo do_shortcode(“[tab title=’Third Tab’]”); ?>Content for tab three goes here.<?php echo do_shortcode(“[/tab]”); ?>
<?php echo do_shortcode(“[/tabs]”); ?>Cheers
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to insert into template?’ is closed to new replies.