You use the same slug clubs
to register your custom post type and in rewrite
when you register opposition
taxonomy.
Change rewrite
parameter in register_taxonomy()
'rewrite' => array(
'slug' => 'clubs/opposition',
'with_front' => false
),
The recognizable address will be clubs/opposition/{some-term-name}
and will display posts from custom category.
However, the clubs/opposition
address will still not work without additional code.
Related Posts:
- Can multiple custom post types share a custom taxonomy?
- Registering custom taxonomy with unique name, a good practise?
- Remove url rewrites for registered taxonomies
- Adding predefined terms to a taxonomy
- wordpress does not see the correct custom taxonomy hierarchy
- URL with Hierarchical Taxonomies and same slug for all terms and sub-terms
- Is there a way to re-order the Custom Taxonomy drop-down on a Custom Post listing page?
- Separating a custom taxonomy from blog post-type
- Taxonomy, Terms, and Template Files
- Exclude a category from WP_Query
- Check if post type has term
- Custom Post Types not showing on Custom Taxonomy archive page
- custom post type or taxonomy
- How do I Filter Custom Post Type by Custom Taxonomy in the newest WordPress RESTful API?
- Changing the priority of a custom taxonomy’s metabox
- How to list all categories and tags in a page?
- WordPress custom taxonomy URL rewrite on spelling errors
- TV Show database – Best way for structuring it?
- Admin to user notices – best practices?
- Many to Many Taxonomies or rewrite rules?
- Query posts by custom post type and custom taxonomy
- Sort the main query in subcategories/terms?
- front end radio custom taxonomy with custom post type
- How to display the rest of categories on Portfolio filterable
- Highlight nav menu terms
- How to query custom post type by term?
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- How can I show recent posts from same taxonomy as the post currently being viewed?
- How to get the first term for the current taxonomy?
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- Group custom posts by custom taxonomy names
- Display Posts in Custom Post Types Timber
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- Wrong request query on cpt and tax
- Getting a PHP Notice when using Pods with WPML [closed]
- Custom post type multiple loop by taxonomy term
- Extending AZIndex plugin to use custom post types and custom taxonomies
- How to display custom taxonomies with links in filter menu?
- List custom taxonomy specific to one custom post type
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- How to Filter custom post type by taxonomy?
- Listing posts under primary and secondary taxonomies
- What’s the WP way to load remaining custom posts?
- Listing custom terms in custom post meta
- WordPress subpages to custom post types
- Custom post type Permalinks with hierarchical Taxonomies
- How do I display a list showing custom post types nested within a taxonomy?
- Display posts with tag for custom post type only
- Can’t use pagination with custom taxonomy
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- Targeting categories in custom fields
- Displaying tags associated with posts in Custom Post Type
- How to show all taxonomies within custom post type loop
- Showing taxonomy terms on custom post type
- How to get all posts related to particular category name on button click?
- List all Custom Post Type posts excluding certain Taxnomy term
- Can’t pull posts of a Custom Post Type based on the custom taxonomy of the CPT
- Conditional Statements
- Loop and add Specific Categories and Products Images
- Custom post type specific category box
- Making a form for user to add new custom post with custom taxonomies and custom fields
- Get newest created custom category (get_term_by and variables) (outside Loop)
- Custom Taxonomy Taxonomies of Same Name point to first created URL
- custom post type or taxonomy, which approach is better?
- Taxonomy terms with the same name are updated between separate custom post types
- Custom Post Type with Different Sets of Post Content?
- Custom taxonomy permalink without term, redirection to CPT slug
- Add a class to a div if custom post type has specific terms?
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- Custom post type paging return home page
- Basic CPT Question About Categories
- custom post type and a “sticky” position taxonomy
- Display post count for a specific month
- Custom taxonomy returns 404 even with saving permalinks
- Create custom post type categories
- Custom post type shortcode with taxonomy attribute not working and no errors
- Redirect Custom Post Type from Child Taxonomies
- Ajax load more inside custom post type taxonomy
- How can I get the last 5 element of this tax query?
- Add other all taxonomies as meta boxes to custom post type
- Custom post edit page permalink links to edit page rather than the post
- Create a custom wp_query from a specific custom post type with specific taxonomy
- Show tags of custom post types in WordPress
- Show posts for current taxonomy
- order taxonomy alphabetical
- WordPress get all post with like in terms [duplicate]
- Custom post type archive page not showing on archive-posttype.php
- Should I make a taxonomy to organize data like this?
- Query Pulling the same post twice
- Cannot retrieve Custom Taxonomies (Disappeared)
- Custom Post type and Taxonomy in post URL error
- Display Custom taxonomy, Child terms and posts in a template Under Specific Parent terms
- Loop multiple taxonomy in custom post
- List all posts from custom post type by taxonomy
- Sort a custom post type loop by a custom taxomomy instead of chronologically
- changing post type in loop query
- How to Create Custom Post Type with Multiple Color Options?
- Add custom taxonomies as class names to an archive page of custom post types
- Custom Post Type Base URL
- Get all active posts that are tied to a custom taxonomy for a custom post type