Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress: Can one page have two parents?

I am developing a small site using Wordpress.org and would like multiple parents to share a child page. The purpose is that users coming to the site will for example associate "Rental Assistance" child page with the "Programs" parent and the "Housing" parent.

EDIT: I do not want to simply duplicate the content since this is redundant and poor design in the event of content changes. I have contemplated a redirect link, but that seems poor as well...

Is this possible?

like image 956
Brian Avatar asked Aug 19 '09 02:08

Brian


People also ask

What does a parent page mean in WordPress?

A WordPress parent page is a top-level page in the site's hierarchy. The group of sub-pages nestled under it are called child pages.

Should you use parent pages in WordPress?

Parent pages are superior to child pages which means they leave their mark on child pages. Concretely, that means a child page will carry the parent page's keyword in its URL. Without parent pages, child pages cannot exist.

How do you add a parent page in WordPress?

Log in to your WordPress admin screen. Click the Pages > Add New in the left sidebar. Alternatively, you can also click the Add New button in the Pages screen. In the sidebar settings for the page, under Page Attributes, open the Parent Page drop-down menu.

How do I create a WordPress page from another child?

If you look at the 'Parent Page' field then this is blank by default. This means the page is currently a parent page. To turn this parent into a child page, simply open the 'Parent' dropdown. You can then select the page that you want to use as the parent page.


2 Answers

No, use categories instead. Tags are similar, but categories are explicitly designed to be hierarchical. As anschauung said, you're categorizing, so use categories.

Details about the differences: http://support.wordpress.com/posts/categories-vs-tags/

like image 76
Val Avatar answered Oct 06 '22 02:10

Val


Strictly speaking: no.

The posts table in the Wordpress database has the field post_parent, which only accommodates one other post id.

Tags may be a better solution if your site is set up to use them in that way -- what you're really doing here is categorizing.

like image 44
anschauung Avatar answered Oct 06 '22 02:10

anschauung