Using custom wordpress loop:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
//Post Content
<?php endwhile;?>
//Pagination
<?php else : ?>
//No posts message
<?php endif; ?>
I need help restructure the code to display html Div.block after 4th post each page on condition that page has at least 6 posts to display.