Custom Post Type and Taxonomy – permalink to include the taxonomy in the URL?
-
We want a simple CPT called
resources
, and when creating each entry in this type, we need categories (taxonomies) that should show up as a checkbox list of category on the right hand side in the admin area.So each
resource
will actually have a type:Health related Finance related etc
The URLs will be:
/resources (overall resources page) /resources/health (resource category/taxonomy listing page) /resources/health/find-a-clinic (each resource post)
I used the Custom Post Type (CPT) plugin, but the URL structure ignores the name of the taxonomy and only shows the post type and the post name. E.g.,
resources/find-a-clinic
What’s a good simple way to include the taxonomy name in the slug?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Post Type and Taxonomy – permalink to include the taxonomy in the URL?’ is closed to new replies.