Title: create new div
Last modified: August 19, 2016

---

# create new div

 *  [ctots](https://wordpress.org/support/users/ctots/)
 * (@ctots)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/create-new-div/)
 * I am using this code below to get and limit the amount of child pages posted 
   to the parent. The post snippets are going into a div. when they hit 7 I want
   to create a new div and limit it to 7 and so on and on.. Once the posts hit 7
   create a new div and get next 7.
 * see code below.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com)]_

The topic ‘create new div’ is closed to new replies.

## Tags

 * [child pages](https://wordpress.org/support/topic-tag/child-pages/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ctots](https://wordpress.org/support/users/ctots/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/create-new-div/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
