WordPress Shortcode in Template

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 Web Designer / Web Developer (Webflow, WordPress, Weebly & Custom), Front-end / 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.