The child-pages tag has no wiki summary.
2
votes
1answer
135 views
Only allow new subpages to be created
I'm looking for a way to only allow users to create new subpages once there are nine pages that are parents/root pages. Once there are nine parent pages when trying to create a new parent the users ...
2
votes
1answer
509 views
Remove parent slug for child pages
I'm looking for a plugin/custom function that removes the parent slug of a child's page permalink.
Something that automatically changes the permalink for child pages.
Example:
...
1
vote
1answer
82 views
Automatically create child pages when saving a (parent) page
I have a bit of a tricky one...
I have a hierarchical Custom Post Type ('shows') that represents events. Is it possible for the user to create a new page (ie show), save the page and for Wordpress to ...
4
votes
1answer
107 views
Create a “Dummy” parent page for a hierarchy in page listing?
Is it possible to set up a "dummy" page - just a page title that appears in the page listing, and a page that is not editable and doesn't have a slug?
This is more of a hypothetical question, as I ...
2
votes
2answers
495 views
Custom post type hierarchical permalinks not behaving as expected for parent/child pages
When you have Pages with children, the permalink structure works something like this:
example.com/parent-page/child-page/
All well and good. Trying to go to this URL:
example.com/child-page/
...
1
vote
1answer
691 views
how to properly list child pages in sidebar?
My pages menu is maximum 3 levels deep and I am having a hard time figuring out how to properly list the child pages in the sidebar.
If a page is a parent I want to list it's direct child pages and ...
0
votes
1answer
249 views
Delete Child Posts
I'm trying to delete all child posts when the parent is deleted.
The parent post deletes just fine, but the child posts are not properly deleting.
Here's the code I have in place now:
$args = ...
0
votes
1answer
153 views
Load parent pages when there are no child pages
I use the following code to load subpages in a sidebar on all pages:
<?php
$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0&depth=1');
...