Shortcodes in templates
If you are using shortcodes, you might want to add them in a template page instead of in the content of a page or post. Luckily, WordPress has a function for this;
You can add this anywhere you want your shortcode.
<?php echo do_shortcode("[my_shortcode]"); ?>
Different content for Mac and Win Disable top-level menus from Admin Panel 1 Edit button on posts & pages Increase default number of custom fields Rearrange category order Pull in the tags related to a category Disable automatic formatting Shortcodes in templates Share on Facebook Get parent page name