Loop is looping stuff I don't want to be Looped =)
I got a WP loop that has to put out a list of news items.
The 1th column is the latest post in the category news, the second column shows the second, third and fourth post in the same category “news” and the third and last column is listing the fifth+ titles from also the same category.
The problem is that I can’t seem to figure out why and how the loop is putting the ie. col_three in the loop. I’m guessing I need to stop the loop somehow, open the div class col_three, and start the loop again.
Hope I make some sense…
This is what I got:
Above and below this section I query posts from a different category.
<section> <article id=""> <?php query_posts('cat=1&posts_per_page=5'); if (have_posts()) : while (have_posts()) : the_post(); the_title (); the_content(); endwhile; endif; ?> </article> </section>
Thanks in advance!
- The topic ‘Loop is looping stuff I don't want to be Looped =)’ is closed to new replies.