add_shortcode( 'your_shortcode_name', function() {
ob_start();
?>
Your code in here
<?php
return ob_get_clean();
} );
Shortcode: [your_shortcode_name]
add_shortcode( 'your_shortcode_name', function() {
ob_start();
?>
Your code in here
<?php
return ob_get_clean();
} );
Shortcode: [your_shortcode_name]