On my front page, I want to display pages but with alternate thumbnail sizes. I have 2 thumbnail sizes which should be used.
Page 1: Size A
Page 2: Size B
Page 3: Size A
Page 4: Size A
Page 5: Size A
Page 6: Size B
Page 7: Size A
then start over again with the order.
At the moment, I got the following code, which I want to reuse on other pages of the site to display child pages:
<?php query_posts('post_type=page&order=ASC&post_parent=0');
while(have_posts() ) : the_post(); ?>
<a href="<?php the_permalink() ?>">
<?php the_post_thumbnail(); ?>
<?php the_title(); ?>
</a>
<?php endwhile;?>
Thanks for your help.