function oxy_create_taxonomy_header($queried_object)
 {
     if (get_option(THEME_SHORT . '-tax-mtb-show_header' . $queried_object->term_id, 'show') === 'show') {
         $meta_title = get_option(THEME_SHORT . '-tax-mtb-content' . $queried_object->term_id, '');
         $title = empty($meta_title) ? $queried_object->name : $meta_title;
         $heading = oxy_call_shortcode_with_tax_meta('oxy_section_heading', array('sub_header', 'header_type', 'heading_type', 'sub_header_size', 'header_size', 'header_weight', 'header_align', 'header_condensed', 'header_underline', 'header_underline_size', 'extra_classes', 'margin_top', 'margin_bottom', 'scroll_animation', 'scroll_animation_delay'), $title, $queried_object->term_id, array('heading_type' => 'page'));
         echo oxy_call_shortcode_with_tax_meta('oxy_shortcode_section', array('swatch', 'text_shadow', 'inner_shadow', 'width', 'class', 'id', 'overlay_colour', 'overlay_opacity', 'overlay_grid', 'background_video_mp4', 'background_video_webm', 'background_image', 'background_image_size', 'background_image_repeat', 'background_image_attachment', 'background_position_vertical', 'height', 'transparency'), $heading, $queried_object->term_id);
     }
 }
 function oxy_create_taxonomy_header($queried_object)
 {
     $meta_title = get_option(THEME_SHORT . '-tax-mtb-content' . $queried_object->term_id, '');
     $title = empty($meta_title) ? $queried_object->name : $meta_title;
     // has this page been overriden?
     if (get_option(THEME_SHORT . '-tax-mtb-override_header' . $queried_object->term_id, 'default') === 'default') {
         oxy_default_page_header($title, array('heading_type' => 'page'));
     } else {
         if (get_option(THEME_SHORT . '-tax-mtb-show_header' . $queried_object->term_id, 'show') === 'show') {
             $heading_options = (include OXY_THEME_DIR . '/inc/options/shortcodes/shared/heading-option-list.php');
             $heading_section_options = (include OXY_THEME_DIR . '/inc/options/shortcodes/shared/heading-section-option-list.php');
             $heading = oxy_call_shortcode_with_tax_meta('oxy_section_heading', $heading_options, $title, $queried_object->term_id, array('heading_type' => 'page'));
             echo oxy_call_shortcode_with_tax_meta('oxy_shortcode_section', $heading_section_options, $heading, $queried_object->term_id);
         }
     }
 }