Skip to content

Instantly share code, notes, and snippets.

@michaelcarwile
Created August 31, 2013 23:15
Show Gist options
  • Save michaelcarwile/6401256 to your computer and use it in GitHub Desktop.
Save michaelcarwile/6401256 to your computer and use it in GitHub Desktop.
Embed WordPress shortcode in template file with PHP.
<?php
echo do_shortcode("[shortcode]");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment