multiple loop question
-
Hello,
I have a loop in the header for slide images which is affecting the loop in single.php. What is the correct way to format so it doesn’t affect the main loops?
This is the header loop im using.
<?php query_posts('showposts=4'); ?> <?php while (have_posts()) : the_post(); ?> <?php if ( has_post_thumbnail() ) { the_post_thumbnail('large-image'); } ?> <?php endwhile; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘multiple loop question’ is closed to new replies.