ID, 'aryx_content_layout', true ); $post_content_layout = get_theme_mod( 'aryx_f_post_content_layout_s_container_p_layout', 'default-width' ); $default_content_layout = get_theme_mod( 'aryx_f_default_content_layout_s_container_p_layout', 'fixed-width' ); $show_breadcrumb = get_theme_mod( 'aryx_f_show_breadcrumb_s_breadcrumb_p_header', '1' ); if ( ! $inpost_content_layout || $inpost_content_layout == 'customizer-default' ) { if ( $post_content_layout == 'default-width' ) { if ( $default_content_layout == 'fixed-width' ) { echo '
'; } elseif ( $default_content_layout == 'full-width' ) { echo '
'; } } elseif ( $post_content_layout == 'fixed-width' ) { echo '
'; } elseif ( $post_content_layout == 'full-width' ) { echo '
'; } } elseif ( $inpost_content_layout == 'boxed' ) { echo '
'; } elseif ( $inpost_content_layout == 'full-width' ) { echo '
'; } ?>
ID, 'aryx_sidebar', true ); $default_sidebar_layout = get_theme_mod( 'aryx_f_default_sidebar_layout_s_sidebar_p_layout', 'right-sidebar' ); $post_sidebar_layout = get_theme_mod( 'aryx_f_post_sidebar_layout_s_sidebar_p_layout', 'default-sidebar' ); /* Check if left sidebar is selected and output accordingly */ if ( ! $inpost_sidebar_layout || $inpost_sidebar_layout == 'customizer-default' ) { if ( $post_sidebar_layout == 'default-sidebar' ) { if ( $default_sidebar_layout == 'left-sidebar' ) { get_sidebar(); } } elseif ( $post_sidebar_layout == 'left-sidebar' ) { get_sidebar(); } } elseif( $inpost_sidebar_layout == 'left-sidebar' ) { get_sidebar(); } /* Content Area Col Class */ if ( ! $inpost_sidebar_layout || $inpost_sidebar_layout == 'customizer-default' ) { if ( $post_sidebar_layout == 'default-sidebar' ) { if ( $default_sidebar_layout == 'left-sidebar' || $default_sidebar_layout == 'right-sidebar' ) { $content_area_class = 'col-md-9'; } else { $content_area_class = 'col-md-12'; } } elseif ( $post_sidebar_layout == 'left-sidebar' || $post_sidebar_layout == 'right-sidebar' ) { $content_area_class = 'col-md-9'; } else { $content_area_class = 'col-md-12'; } } elseif( $inpost_sidebar_layout == 'left-sidebar' || $inpost_sidebar_layout == 'right-sidebar' || $inpost_sidebar_layout == 'default-sidebar' ) { $content_area_class = 'col-md-9'; } else { $content_area_class = 'col-md-12'; } ?>