looking for an expanded multiple loops example (2 posts)

  1. borzoid
    Posted 6 years ago #

    Hi, I need to create multiple loops on the home page. I've been reading the codex but the examples only go into two loops and I want to see how the code continues to do more.

    there will be 8 different categories. for each category I want to display a list of only the titles of the last 5 posts.

    I would like to use the method that utilizes update_post_caches($posts) to prevent conflicts with other plugins the site owner may add in the future. However I am not quite clear (the way the methods are layed out) where the rewind function fits into a structure like this.

    Any help would be greatly appreciated. Thank you very much in advance.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    There's a list of external tutorials/examples at http://codex.wordpress.org/The_Loop#Resources

Topic Closed

This topic has been closed to new replies.

About this Topic