';
get_template_part( 'templates/header', 'default' );
//woocommerce layout
} else if($business_space_header == 1 && class_exists('WooCommerce')){
get_template_part( 'templates/woocommerce', 'header' );
//list layout
} else if ($business_space_header == 2){
get_template_part( 'templates/header', 'list' );
} else {
//default layout
echo '
';
get_template_part( 'templates/header', 'default' );
}
if(is_front_page()){
get_template_part( 'templates/header', 'hero' );
get_template_part( 'templates/header', 'shortcode' );
}
/* end header div in default header layouts */
if ($business_space_header == 0) {
echo '
';
}
}
add_action('business_space_header', 'business_space_do_header');