'; } $sidebarclass = ''; if ( $sidebar == 'main-sidebar' ) { $sidebarclass = 'blog-has-sidebar right'; } if ( $sidebar == 'left-sidebar' ) { $sidebarclass = 'blog-has-sidebar left'; } $headerTypeClass = ''; if ( Kite_opt( 'header-type' ) == 10 ) { // humburger menu $headerTypeClass = ' type10'; } ?>
'post', 'paged' => $postpage, ); $main_query = new WP_Query( $args2 ); if ( have_posts() ) { while ( $main_query->have_posts() ) { $main_query->the_post(); global $post; $postType = get_post_meta( get_the_ID(), 'media', true ); if ( $postType == 'gallery' ) { $postType = 'gallery'; } elseif ( $postType == 'video' ) { $postType = 'video'; } elseif ( $postType == 'video_gallery' ) { $postType = 'video'; } elseif ( $postType == 'audio' ) { $postType = 'audio'; } elseif ( $postType == 'audio_gallery' ) { $postType = 'audio'; } elseif ( $postType == 'quote' ) { $postType = 'quote'; } else { $postType = 'standard'; } ?>
>