wp function add shortcode code example
Example 1: wordpress do shortcode
<?php echo do_shortcode('[name_of_shortcode parameters=""]'); ?>
Example 2: wp shortcode
<?php echo do_shortcode("[name_of_your_shortcode]"); ?>
<?php echo do_shortcode('[name_of_shortcode parameters=""]'); ?>
<?php echo do_shortcode("[name_of_your_shortcode]"); ?>