Support » Themes and Templates » Difficult exclusion request for loop

  • Resolved nwbingham


    Hi all:

    I have searched around and tried a few things, but my knowledge of PHP is insufficient. I found myself with loops inside loops and was going around in circles.

    My issue is that I have a multi user blog. The index displays at the top the latest post excerpt from each of the two authors. Under this featured section there is the normal loop displaying the latest 10 posts regardless of author. However, I would like this loop to exclude the two posts already displayed in the aforementioned feature.

    Can the post id be saved from the two original loops so that in the main loop there can be a condition that only display post if post_id does not equal first_id || second_id?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Difficult exclusion request for loop’ is closed to new replies.