Hierarchical custom post types
-
Hello,
First a superb plugin. I have a quick question I hope to have answered.
I’m trying to create a knowledge base articles using this plugin. I have “docs” custom post type and i have a taxonomy of “topics”. Both are hierarchical. Taxonomy “topics” is attached to “docs”. I also have categories for docs, for example “category 1”, “category 2” etc. This all works however the urls are not what i want. They are not hierarchical. This way what I have is:domain.com/topic/category1 – this is archive of all docs in category1
domain.com/docs/url-for-the-doc – a single post of doc typeWhat I would want to have is:
domain.com/topic/category1/ – archive
domain.com/topic/category1/url-for-the-doc/ – a single post of doc typeSo basically I would want the docs to be prefixed with /topic/name-of-category/ instead of /docs/. Possible?
Thanks,
krko
- The topic ‘Hierarchical custom post types’ is closed to new replies.