FavoriteLoadingAdd to favorites
############################################################################
//////////////////////////////////////
// [shortcode_name]
//////////////////////////////////////
function echo_shortcode_element(){
    ob_start();
    include '/path to our file';
    return ob_get_clean();
}
add_shortcode( 'shortcode_name', 'echo_shortcode_element');
############################################################################

Now reference your shortcode and it should load no issues if your file references are correct.

Pin It on Pinterest

Share This