create a wordpress plugin shortcode code example
Example 1: wordpress do shortcode
<?php echo do_shortcode('[name_of_shortcode parameters=""]'); ?>
Example 2: how to use plugin shortcode in wordpress template
<?php echo do_shortcode("[insert-your-shortcode-here]"); ?>