How Do I Create a Hierarchy Page in WordPress?
Creating a hierarchy in WordPress requires a little more work than just adding a column to a table. You need to create a custom taxonomy and then create a custom post type for your hierarchy. Here’s how to do it:
1. Create a custom taxonomy in WordPress.
This can be done by going to the WordPress admin area and clicking on the “Taxonomies” link in the left-hand menu.
2. In the “Taxonomies” page, click on the “Create new taxonomy” button.
3. In the “Taxonomy name” field, enter the name of your hierarchy.
4. In the “Description” field, provide a brief description of your hierarchy.
5. In the “Options” field, select the “Display as hierarchy” option.
6. In the “Hierarchy” field, enter a list of custom post types for your hierarchy.
7. Click on the “Create taxonomy” button to create your hierarchy.
8. Click on the “Create post type” button to create your hierarchy’s custom post type.
9. In the “Name” field, enter the name of your hierarchy’s custom post type.
10. In the “Description” field, provide a brief description of your hierarchy’s custom post type.
11.
12.
13. In the “Posts” field, enter a list of posts for your hierarchy.
14. In the “Order” field, specify the order in which posts should appear in your hierarchy.
15. In the “Title” field, enter the title of a post in your hierarchy.
16. In the “Body” field, enter the body of a post in your hierarchy.
17. Click on the “Publish” button to publish your posts in your hierarchy.
18. Click on the “Hierarchy” tab to view your hierarchy’s posts.
19. Click on a post to view its details.
20. Click on the “ edit ” link to edit a post in your hierarchy.
21. Click on the “delete” link to delete a post in your hierarchy.
22. Click on the “ edit post type ” link to view the details of a post’s custom post type.
23. Click on the “ delete post type ” link to delete a post’s custom post type.
24.
25.
26.
27.
28.
29. Click on the “Edit Page” link to edit a post’s parent page in your hierarchy.
30. Click on the “Delete Page” link to delete a post’s parent page in your hierarchy.
31.
32.
33.
34.
35.
36.
37.
38.
39. Click on the “Delete Page” link to delete a post’s parent page in your hierarchy.