Hi, I need to recreate this existing Knowledge/Support website hidden link with WordPress, it was build with DocFX.
Shane on chat previously told me to go with Taxonomies, but I am afraid that it will not be sufficient as the structure is really complex, so I am thinking I will need to use Post Relationships instead, or on top of Taxonomies. I have no experience with Post Relationships atm 🙁
The site covers several products (eSignatures, Browser Package, eSignatures integrations, ...) and some of them even have several versions. When you start browsing, the topics sometimes go as deep as 4 or 5 levels.
We will need to, of course, display each support article, but also a navigation on the left and a breadcrumb on top.
Hello,
I have checked the URL you mentioned above, I don't think it needs Post Relationships.
In my opinion, it needs just one hierarchical custom post type "Documentation"
https://codex.wordpress.org/Function_Reference/register_post_type#hierarchical
For example, create a post type "Documentation" with Toolset Types plugin:
- in section "Sections to display when editing", enable option "Page Attributes"
- in section "Options", enable option "hierarchical"
So you will be able setup "Documentation" posts as hierarchical relationship, just like WordPress built-in post type "Pages", like this:
- eSignatures
-- eSignatures 5.0
---- User Documentation
------ 1. Introduction
---- API Documentation
...
For example, to recreate the URL you mentioned above:
hidden link
You just need to setup a nested view:
1) Parent post view
- Query posts of post type "Documentation"
- Filter by "Post parent filter":
Select top-level posts with no parent.
- in view's loop, display Documentation post's title + below child post view
2) Child post view
- Query posts of post type "Documentation"
- Filter by "Post parent filter":
Select posts whose parent is the current post in the loop.
- Display Documentation post's links
More help:
https://toolset.com/documentation/user-guides/displaying-brother-pages/