Pages, Custom Posts & Custom Taxonomy defining slug structure
All of the cases you describe are handled by the post type archive, post type single, and taxonomy term archive pages that are all automatically generated (depending on arguments) when you register your post type and taxonomy. function wpd_add_custom_types() { // register fruit post type $args = array( ‘public’ => true, ‘label’ => ‘Fruit’, ‘has_archive’ … Read more