WordPress.org

Ready to get started?Download WordPress

Forums

Assigning subpages to more than one parent page (5 posts)

  1. colmmac
    Member
    Posted 3 years ago #

    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?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    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.

  3. colmmac
    Member
    Posted 3 years ago #

    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?

  4. Darrell Schauss
    Member
    Posted 3 years ago #

    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.

  5. xroox
    Member
    Posted 3 years ago #

    Thanks Drale,

    I will look into this – I'm having problems updating an old theme to use WP3.0 menus.

Topic Closed

This topic has been closed to new replies.

About this Topic