// Main post loop. if ( have_posts() ) : while ( have_posts() ) : the_post(); $nectar_post_format = get_post_format(); if( get_post_format() === 'image' || get_post_format() === 'aside' || get_post_format() === 'status' ) { $nectar_post_format = false; } // Masonry layouts. if( null !== $masonry_class ) { get_template_part( 'includes/partials/blog/styles/masonry-'.$masonry_style_parsed.'/entry', $nectar_post_format ); } // Standard layouts. else { get_template_part( 'includes/partials/blog/styles/standard-'.$standard_style_parsed.'/entry', $nectar_post_format ); } endwhile; endif; ?>