How to Use WordPress Shortcodes in Themes-/Templates
This snippet will allow you to insert WordPress shortcodes into your theme-/templates – using WordPress built-in function do_shortcode()
Instructions
Add this code your theme files where you want the shortcode content to be run.
<?php echo do_shortcode("[example_shortcode]"); ?>
Comments