Support » Plugin: WordPress Shortcodes » How to add to template?

  • Resolved IILLC

    (@iillc)


    Great work on the plugin, it seems to work great!

    Is there a way to add these to a template? I tried adding them to some template pages I am making in atahualpa and the [tab] are showing up instead of actually making the content tabs.

    When I put the code into a post it works. But when I add it to a template outside of a post it doesn’t.

    Thanks for your help.

    http://wordpress.org/plugins/synved-shortcodes/

Viewing 1 replies (of 1 total)
  • Moderator cubecolour

    (@numeeja)

    ɹoʇɐɹǝpoɯ

    The syntax for adding a shortcode into a template is

    <?php echo do_shortcode("[shortcode]"); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘How to add to template?’ is closed to new replies.