DrawPubSlot(1);
if (have_posts()) :
while (have_posts()) :
$bFound=false;
the_post();
if(get_theme_mod('laurel_archive_layout') == 'grid') { get_template_part('content', 'grid'); $bFound = true; }
if(!$bFound && get_theme_mod('laurel_archive_layout') == 'full_grid')
{
if( !is_paged() ) {get_template_part('content'); $bFound = true; }
else { get_template_part('content', 'grid'); $bFound = true; }
}
if(!$bFound && get_theme_mod('laurel_archive_layout') == 'list') { get_template_part('content', 'list'); $bFound = true; }
if(!$bFound && get_theme_mod('laurel_archive_layout') == 'full_list') {
if( !is_paged() ) { get_template_part('content'); }
else { get_template_part('content', 'list'); }
}
if (!$bFound ) { get_template_part('content'); }
$m_nPosition++;
if ( $m_nPosition == 2 ) {DrawPubSlot(2);}
endwhile;
endif;
?>



