ID, 'awa_post_options' ); $preview = isset( $post_meta[0]['post_preview_style'] ) ? $post_meta[0]['post_preview_style'] : ''; $unitClass = ! function_exists( 'cs_framework_init' ) ? 'unit' : ''; if ( get_post_type( $post->ID ) == 'proof_gallery' ) { $cs_sidebar = false; } $content_size_class = ( (!function_exists( 'cs_framework_init' ) && is_active_sidebar('sidebar')) || ( $cs_sidebar && in_array( 'post', $cs_sidebar ) ) ) ? 'col-md-9' : 'col-md-12'; $blog_type = cs_get_option( 'blog_single_type' ) ? cs_get_option( 'blog_single_type' ) : 'classic'; $sidebar_class = (!function_exists( 'cs_framework_init' ) && is_active_sidebar('sidebar')) || $cs_sidebar && in_array( 'blog', $cs_sidebar ) ? ' sidebar-show' : 'sidebar-no'; $singleClass = $blog_type == 'classic' && $sidebar_class == ' sidebar-show' ? ' pr30 ' : ''; while ( have_posts() ) : the_post(); ?>