Forums

[resolved] Calling post with multiple loops (5 posts)

  1. cornetjr
    Member
    Posted 2 years ago #

    I have multiple loops on my home page:
    http://www.critiquethis.us

    The problem is that I want to have the newest articles displayed in the left column and then highlight articles from the various sections in the right columns.

    Is there a way to exclude a post from the right column if it is featured in the left column?

  2. cornetjr
    Member
    Posted 2 years ago #

    Okay, I know a little bit more about what I want to do. I am trying to get the different loops to speak to each other so that the featured loop will display the three newest articles from the archive. Then the right loops pull the newest article from each sub-category, but if the newest article in the sub-category is featured in the main feature that article is skipped and the second post is shown. Any help would be appreciated.

    I have included a link to the home.php file:
    http://www.critiquethis.us/home.zip

  3. cornetjr
    Member
    Posted 2 years ago #

    I rewrote my homepage from scratch using an array technique suggested here:

    http://www.goboxy.com/wordpress/avoid-duplicate-posts-in-multiple-loops/

    The only problem is that if the main loop does not contain a category in it that category loop will display two articles instead of one. If anyone is interested I upload the updated home.zip file.

    I am going to attempt the technique here:

    http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/

    Perhaps this will yield better results.

  4. cornetjr
    Member
    Posted 2 years ago #

    I have succesfully implemented the technique below:

    http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/

    Anyone know how to incorporate pagination using the filter technique?

  5. cornetjr
    Member
    Posted 2 years ago #

    Figured it out!

    Weblogtools is an amazing resource, code here:

    http://weblogtoolscollection.com/archives/2008/04/19/paging-and-custom-wordpress-loops/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.