I am creating a wordpress CMS and I have added multiple pages under one parent […]
Tag: child-pages
Parent/child pages and link structure the right way
I’ve always wondered what’s the best way to achieve the following with pages. Say I […]
Automatically create child pages when saving a (parent) page
I have a bit of a tricky one… I have a hierarchical Custom Post Type […]
Set order of returned items in the WP_Query() class/function
I have this function which gives me IDs and titles of all child pages of […]
Allow only new sub-pages to be created
Here is an amazing solution to restrict the creation of new parent pages, and I […]
Organizing Your Pages
I’m having problems creating sub pages. So far I’ve followed the proper directions: Go to […]
List the 5 most recent child pages
I created a hierarchical custom post type for a gallery. The parent pages are the […]
Show content if parent page has children
Using this piece of code you can show content depending if it’s a child-page or […]
Loop that displays PARENT PAGE & CHILD PAGE & outputs GRANDCHILD PAGE title and content
I’ve never posted here, but I’m tired of slapping code together. That said, I would […]
Query in a Hierarchical Custom Post Type for Children vs Siblings
I have a custom post type with two levels of pages inside of it. the […]
No More Posts Available.
No more pages to load.