Here’s a simple trick I’ve been using to include an ad after the second post, however you could modify the location.
<?php if ( $count == 1 ) : ?> <div class="special"> Content Here </div> <?php endif // ( $count == 2 ) ?> <?php $count++ ?> <?php endwhile; ?>
Notice the code is added just before the
<?php endwhile; ?>
in your loop.
