Loop within a loop and comments
-
So I have a scenario where I need a page setup and ordered as follows:
1) Loop 1 returning 1 post from category A
2) Loop 2 returning 4 posts from category B
3) Return comments from the Loop 1It seems like I could nest Loop 2 into Loop 1 somehow, and then when I run the comments_template() tag after both loops, tell WordPress to only return the comments for only Loop 1. Make sense?
- The topic ‘Loop within a loop and comments’ is closed to new replies.