I have 2 loops on the archive page. I want the first loop to display the 2 last posts of the category and the second loop offset 2 last post!
<div class="top-posts">
<?php
if (have_posts()) :
while(have_posts()) : the_post();?>
<div class="content">
<?php the_post_thumbnail('archive'); ?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</div>
<?php endwhile;?>
<?php endif;?>
</div>
<div class="primary-posts">
<?php
if (have_posts()) :
while(have_posts()) : the_post();?>
<h2><a href="<?php the_permalink(); ?>" ><?php the_title(); ?></a></h2>
<?php endwhile;?>
<?php endif;?>
</div>