

Inside your themes functions.php add the below snippet and fill out the placeholders.
############################################################################
//////////////////////////////////////
// This is your shortcode. You reference it like you see below with the square brackets.
// [shortcode_name_here]
//////////////////////////////////////
function echo_shortcode_function_name(){
ob_start();
include '/path to our file';
return ob_get_clean();
}
add_shortcode( 'shortcode_name_here', 'echo_shortcode_function_name');
############################################################################
############################################################################
//////////////////////////////////////
// This is your shortcode. You reference it like you see below with the square brackets.
// [shortcode_name_here]
//////////////////////////////////////
function echo_shortcode_function_name(){
ob_start();
include '/path to our file';
return ob_get_clean();
}
add_shortcode( 'shortcode_name_here', 'echo_shortcode_function_name');
############################################################################
############################################################################ ////////////////////////////////////// // This is your shortcode. You reference it like you see below with the square brackets. // [shortcode_name_here] ////////////////////////////////////// function echo_shortcode_function_name(){ ob_start(); include '/path to our file'; return ob_get_clean(); } add_shortcode( 'shortcode_name_here', 'echo_shortcode_function_name'); ############################################################################
Now reference your shortcode and it should load no issues if your file references are correct.