Title: Dynamically generating checkboxes
Last modified: August 22, 2016

---

# Dynamically generating checkboxes

 *  [Larsmir](https://wordpress.org/support/users/larsmir/)
 * (@larsmir)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/dynamically-generating-checkboxes/)
 * Hi there
 * We have a custom settings page on our multisite install. The user of each site
   can tweak these preferences as they see fit. Here’s our problem:
 * We need a query that will provide us with an array of pages that are children
   of a specific, hardcoded page, and then create one checkbox for each of these
   pages. So, if pages Apple, Tree and Cake are children of the Master page, we’d
   need one checkbox for each of those.
 * How could we go about developing this?

The topic ‘Dynamically generating checkboxes’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [get_pages](https://wordpress.org/support/topic-tag/get_pages/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Larsmir](https://wordpress.org/support/users/larsmir/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/dynamically-generating-checkboxes/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
