Archive page for custom post type and taxonomy
-
Hi,
I have a website with multiple custom post types. They share a custom taxonomy called “Departments”.
Basically the website is split up into 3 departments, all sharing a photoalbums, calendar and some other custom post types.
The problem is, I can’t seem to make a proper “Nice permalink” like so:
https://example.com/<custom-post-type>/<taxonomy>/<taxonomy-value>/
The only thing that works is this:
https://example.com/<custom-post-type>/?<taxonomy>=<taxonomy-value>
It should display an archive page with -for example- all calendar items (custom-post-type) within a specific department (taxonomy).
Is there a non-hacky way to do this? All I can find is hacky workarounds, posted at least 3 years ago.
Thanks!
- The topic ‘Archive page for custom post type and taxonomy’ is closed to new replies.