Title: nested loop with two list items and offset posts
Last modified: August 20, 2016

---

# nested loop with two list items and offset posts

 *  [daniel_d](https://wordpress.org/support/users/daniel_d/)
 * (@daniel_d)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/nested-loop-with-two-list-items-and-offset-posts/)
 * Hello, I’m messing up with multiple loops. In fact i want to get a list of posts–
   in this fashion:
 * `<ul>`
    `<li>` post 8 post 7 post 6 post 5 `</li>` `<li>` post 4 post 3 post 
   2 post 1 `</li>` `</ul>``
 * Can somebody can help me to achieve this?</ul>

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/nested-loop-with-two-list-items-and-offset-posts/#post-2147771)
 * why multiple loops?
 * with one loop:
    possibly related: [http://wordpress.stackexchange.com/questions/20692/query-add-html-after-set-amount-of-posts](http://wordpress.stackexchange.com/questions/20692/query-add-html-after-set-amount-of-posts)
 * general info:
    [http://codex.wordpress.org/The_Loop](http://codex.wordpress.org/The_Loop)
   [http://codex.wordpress.org/Function_Reference/query_posts](http://codex.wordpress.org/Function_Reference/query_posts)
 *  Thread Starter [daniel_d](https://wordpress.org/support/users/daniel_d/)
 * (@daniel_d)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/nested-loop-with-two-list-items-and-offset-posts/#post-2147775)
 * oh man, i’m struggling with this for days and i just was hoping YOU answer me
   🙂
    thank you. i”ll check those links out.
 *  Thread Starter [daniel_d](https://wordpress.org/support/users/daniel_d/)
 * (@daniel_d)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/nested-loop-with-two-list-items-and-offset-posts/#post-2147925)
 * Thank you alchymyth! the link suggested was perfect.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘nested loop with two list items and offset posts’ is closed to new replies.

## Tags

 * [nested loop](https://wordpress.org/support/topic-tag/nested-loop/)
 * [offset](https://wordpress.org/support/topic-tag/offset/)

 * 3 replies
 * 2 participants
 * Last reply from: [daniel_d](https://wordpress.org/support/users/daniel_d/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/nested-loop-with-two-list-items-and-offset-posts/#post-2147925)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
