*/ global $canuck_include_breadcrumbs,$canuck_exclude_page_title,$canuck_page_title; $layout_option = get_theme_mod( 'canuck_category_layout', 'right_sidebar' ); $canuck_include_breadcrumbs = get_theme_mod( 'canuck_breadcrumbs' ) ? true : false; $canuck_use_feature = get_theme_mod( 'canuck_use_feature' ) ? true : false; $canuck_exclude_page_title = get_theme_mod( 'canuck_category_title' ) ? true : false; $canuck_page_title = esc_html( get_the_archive_title() ); get_header( 'no-feature' ); get_template_part( '/template-parts/partials', 'page-title-no-post' ); ?>
'; get_template_part( '/template-parts/sidebars/sidebar', 'default-a' ); echo ''; echo '
'; if ( true === $canuck_use_feature ) { get_template_part( '/template-parts/partials', 'general-posts-side-feature' ); } else { get_template_part( '/template-parts/partials', 'general-posts' ); } get_template_part( '/template-parts/partials', 'page-navi' ); echo '
'; } elseif ( 'both_sidebars' === $layout_option ) { echo ''; echo '
'; if ( true === $canuck_use_feature ) { get_template_part( '/template-parts/partials', 'general-posts-top-feature' ); } else { get_template_part( '/template-parts/partials', 'general-posts' ); } get_template_part( '/template-parts/partials', 'page-navi' ); echo '
'; echo ''; } elseif ( 'fullwidth' === $layout_option ) { echo '
'; if ( true === $canuck_use_feature ) { get_template_part( '/template-parts/partials', 'general-posts-side-feature' ); } else { get_template_part( '/template-parts/partials', 'general-posts' ); } get_template_part( '/template-parts/partials', 'page-navi' ); echo '
'; } else { echo '
'; if ( true === $canuck_use_feature ) { get_template_part( '/template-parts/partials', 'general-posts-side-feature' ); } else { get_template_part( '/template-parts/partials', 'general-posts' ); } get_template_part( '/template-parts/partials', 'page-navi' ); echo '
'; echo ''; } ?>