{"id":11894,"date":"2022-02-08T18:02:05","date_gmt":"2022-02-08T23:02:05","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=11894"},"modified":"2022-02-08T18:02:07","modified_gmt":"2022-02-08T23:02:07","slug":"how-to-use-a-wordpress-shortcode-within-a-template","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/how-to-use-a-wordpress-shortcode-within-a-template\/","title":{"rendered":"How to Use a WordPress Shortcode Within a Template"},"content":{"rendered":"\n
Add this to the template:<\/p>\n\n\n\n
<?php echo do_shortcode( '[YOUR_SHORTCODE_NAME_HERE]' ); ?><\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,15],"tags":[954,452,471,638,651],"yoast_head":"\nHow to Use a WordPress Shortcode Within a Template<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n