I have been searching to see if it is possible to assign a subpage to more than one parent page, which is something I need to be able to do with static pages, not posts.
I found this thread: http://wordpress.org/extend/ideas/topic/subpage-of-multiple, which claims that apparently this idea has been implemented, but I cannot find any further info or guidelines on how to achieve this.
I figured this would be a common enough functionality – has anyone else managed to figure out if it is possible?
I have been searching to see if it is possible to assign a subpage to more than one parent page
As far as I’m aware, this isn’t currently possible.
I see… well perhaps a potential work-around to this problem would be to create a custom menu in which the subpages could be included under all of the parent pages to which they correspond, even if they aren’t technically subpages of that page.
For example, I have a subpage called ‘Solar Panel’ that I want to be a child of both the ‘Environment’ and ‘Energy’ parent pages – even if it is not technically possible to achieve this, if I was able to add it in the navigation menu in the subsection of both parents, that would solve my problem.
I could do this by hand-coding menus but this isn’t much use for the people who will be updating the site, and unfortunately the Menu Manager that comes shipped with WordPress doesn’t allow you to add a link to the same page more than once in the same menu.
I will continue to search but does anyone happen to know if a plug-in or hack exists that allows you to easily create a custom menu in which you can place a link to the same page more than once?
Before the new menu system when I needed to have a page appear as a subpage of two pages (at least visually in the menu) I would first make the subpage under the parent I felt best. Define the main hierarchy, then create a second subpage under the other parent, but use a page template and custom field to redirect it to the other. I think there is plugins to create links in the menu to redirect to other pages as well.
I still use this technique if I need the subpage to show under two parents in wp_list_pages since that shows the real hierarchy as opposed to custom menus.
- The topic ‘Assigning subpages to more than one parent page’ is closed to new replies.