Problem
So you have some shortcode, and you want to insert it into a PHP file? Just need this simple line of code:
<?php echo do_shortcode('[name_of_shortcode]'); ?>
Tada! That’s it!
So you have some shortcode, and you want to insert it into a PHP file? Just need this simple line of code:
<?php echo do_shortcode('[name_of_shortcode]'); ?>
Tada! That’s it!