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

Glenn

A highly experienced Web Developer (WordPress, Webflow, 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.