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]"); ?>
Retrieve Last Year Archives Only Show Custom Image Sizes in Admin Media Uploader Hide posts in the “uncategorized” category Custom taxonomy conditional tag Edit the help dropdown Show widget area only if it exists Include Future Posts in RSS Feed Display total number of comments Check PHP version Check if user is using StumbleUpon