If this blog has helped you in any way.
Please consider buying me a coffee for the content.

Do Shortcode
<?php echo do_shortcode("[shortcode]");  ?>
Make A Shortcode
############################################################################
//////////////////////////////////////
       //  [shortcode_name]  //
//////////////////////////////////////
function echo_shortcode_element(){
    ob_start();
    include '/path to our file';
    return ob_get_clean();
}
add_shortcode( 'shortcode_name', 'echo_shortcode_element');
############################################################################
Add Custom Page To WordPress
<?php /* Template Name: any_name.php */ ?>

Pin It on Pinterest

Share This