*/ global $canuck_include_breadcrumbs,$canuck_exclude_page_title; $layout_option = esc_html( ( '' === get_post_meta( $post->ID, 'canuck_metabox_page_layout', true ) ? 'right_sidebar' : get_post_meta( $post->ID, 'canuck_metabox_page_layout', true ) ) ); $canuck_include_breadcrumbs = get_theme_mod( 'canuck_breadcrumbs' ) ? true : false; $canuck_exclude_page_title = get_post_meta( $post->ID, 'canuck_metabox_title', true ) ? true : false; $sidebar_a = esc_html( ( '' === get_post_meta( $post->ID, 'canuck_metabox_sidebar_a', true ) ? 'default-a' : get_post_meta( $post->ID, 'canuck_metabox_sidebar_a', true ) ) ); $sidebar_b = esc_html( ( '' === get_post_meta( $post->ID, 'canuck_metabox_sidebar_b', true ) ? 'default-b' : get_post_meta( $post->ID, 'canuck_metabox_sidebar_b', true ) ) ); get_header( 'no-feature' ); get_template_part( '/template-parts/partials', 'page-title' ); ?>
'; get_template_part( '/template-parts/sidebars/sidebar', 'default-a' ); echo ''; echo '
'; get_template_part( '/template-parts/partials', 'masonry' ); echo '
'; } elseif ( 'both_sidebars' === $layout_option ) { echo ''; echo '
'; get_template_part( '/template-parts/partials', 'masonry' ); echo '
'; echo ''; } elseif ( 'fullwidth' === $layout_option ) { echo '
'; get_template_part( '/template-parts/partials', 'masonry' ); echo '
'; } else { echo '
'; get_template_part( '/template-parts/partials', 'masonry' ); echo '
'; echo ''; } ?>