WordPress Shortcode in Template

Glenn Glenn's Blog 0 Comments

To enter a WordPress shortcode in a WordPress Template simply use the following php code: –

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

Obviously substitute [shortcode] for your actual shortcode!

About the Author
Wordpress Shortcode in Template WordPress Shortcode in Template 0da77002febbfe28d15144a57bbcc2c9 s 180 d mm r g


A highly experienced WordPress Web Developer, Front-end and Back-end Developer & New Media Specialist with extensive knowledge of a wide spectrum of technologies in the Development and Creative Industries built up over a number of years.