print_styles( 'buddyx-content' ); buddyx()->print_styles( 'buddyx-sidebar', 'buddyx-widgets' ); if ( get_post_type() == 'post' ) { $default_sidebar = get_theme_mod( 'single_post_sidebar_option', buddyx_defaults( 'single-post-sidebar-option' ) ); } else { $default_sidebar = get_theme_mod( 'sidebar_option', buddyx_defaults( 'sidebar-option' ) ); } if ( get_post_type() == 'post' ) { $single_post_content_width = get_theme_mod( 'single_post_content_width', buddyx_defaults( 'single-post-content-width' ) ); // Sidebar Classes if ( $default_sidebar == 'left' ) { $classes = 'has-single-post-left-sidebar'; } elseif ( $default_sidebar == 'right' ) { $classes = 'has-single-post-right-sidebar'; } elseif ( $default_sidebar == 'both' ) { $classes = 'has-single-post-both-sidebar'; } else { $classes = 'has-single-post-no-sidebar'; } } ?>