Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress Loop is looping stuff I don’t want to be Looped =)

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #38210
    Kortschot
    Member

    He there…

    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:








    have_posts()) : $list_news->the_post(); $do_not_duplicate = $post->ID; ?>































    Above and below this section I query posts from a different category.








    if (have_posts()) : while (have_posts()) : the_post();

    the_title ();
    the_content();

    endwhile; endif; ?>




    Thanks in advance!
    Paul

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.