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.