I am trying to create a hierarchy in three levels
I have tried to build this using both taxonomies and custom post types but do not manage to get it to work properly
Ideally, I would like it to work as follows
Level 1 and level 2 are both archive pages
However, the archive pages should only
- include children one level down
- and only those children that belong to a certain taxonomy
E.g, of the four level 2 examples above, only the following two belong to the ‘for sale’ taxonomy
Consequently, on the ‘/property-for-sale’ archive page should only these two sections immediately above appear.
There isn't such a built-in feature within Types plugin, but you can setup such kind of permalinks with only one "hierarchical" custom post type, just like the wordpress built-in post type "Page", for example:
1) You can create a custom post type "property-for-sale" with Types plugin
in section "Sections to display when editing ", enable option "Page Attributes",
in section "Options", enable option "hierarchical"
Then you will get a "hierarchical" custom post type
2) Then create a view to query the child posts, and display this in the level 1 and level 2 posts
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
|-||9:00 – 13:00||9:00 – 13:00||9:00 – 13:00||9:00 – 13:00||9:00 – 13:00||-|
|-||14:00 – 18:00||14:00 – 18:00||14:00 – 18:00||14:00 – 18:00||14:00 – 18:00||-|
Supporter timezone: Asia/Hong_Kong (GMT+08:00)