You haven’t properly registered the taxonomy for your post type. You register your post type like this:
register_post_type( 'custom-post-type-1',
Meaning that your post type is named custom-post-type-1
. But when you register the taxonomy, you’re registering it for a post type called my-menu
“
register_taxonomy( 'custom-taxonomy', 'my-menu',
You need to register your taxonomy for your post type:
register_taxonomy( 'custom-taxonomy', 'custom-post-type-1',
Related Posts:
- Show Custom Taxonomy Inside Custom Menu
- How do I create multiple post types in same menu section in WP-admin?
- Prevent custom taxonomy from being added to admin menu?
- Reusable metabox backend and frontend
- Show custom taxonomy not in submenu
- Custom Taxonomy Showing in WP Menu
- Show custom taxonomies in admin panel under custom post type
- Separating a custom taxonomy from blog post-type
- How to get all taxonomies of a post type?
- Permalinks: custom post type -> custom taxonomy -> post
- How to Add Tags to Custom Post Type?
- Efficient Taxonomy Intersection
- Set relationship between custom_post_types
- Remove admin menu for custom taxonomy attached to custom post type
- How do I list custom taxonomy terms without the links?
- Page not found taxonomy custom post type
- How to list custom taxonomy categories?
- clients list using wordpress
- Can I have Post Types under other Post Types in Admin menu?
- Custom taxonomy query for a custom post type
- Extend walker class with custom post types [closed]
- How to do a custom bookmarks post type?
- Custom permalinks – post type – hierarchical taxonomy’s
- Taxonomy posts on Archive page
- Taxonomy list. Order by a specific custom post type count
- Rewrite CPT slug with two taxonomy slug instead of one
- How to display Custom Taxonomy of Custom post type
- Custom content type meta_box_cb does not run
- associate custom post type with tags with specific pages
- Building an Advanced Search (text, tags, category, custom fields) – Getting the wrong SQL query
- Custom Taxonomy breaking pages permalinks
- taxonomy template for custom post type the same as the archive
- Get categories and descriptions from custom post type
- Custom Post Types for Support Ticket plugin?
- Problem with custom post types, taxonomy and permalinks
- How to create new category for custom post type?
- Repeating posts when paginating random posts
- Query/list all terms and their custom post count
- Remove url rewrites for registered taxonomies
- Received nothing after executing AJAX post function
- Get custom taxonomies from multiple posts
- How can I make a custom post type sticky?
- Get Taxonomy Term Title by it’s URL
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- Group CPT posts by custom taxonomy
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- Permalinks /country/city/cpt/postname/
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- Taxonomy structure help
- Create more category hierarchical depth for custom post type/taxonomy plugin (widget)
- How do I share categories across multiple post types?
- Migrating a taxonomy’s tags to the native category
- Show custom post type inside a custom post type
- How to check if post/page or taxonomy post is published by admin
- Custom taxonomy or custom page templates?
- Get terms of a post but only if they’re also the child of a specific term
- Only show posts with a specific term of an associated taxonomy in a custom post type archive
- Custom Post Type Advanced Slug
- How to add query args to links to CPT admin submenu
- filter by custom taxonomy using ajax
- Should putting custom code in functions.php or created the plugins [duplicate]
- Page listing all categories for CPT
- Get posts by category name
- List child categories from parent category on custom taxonomy page
- Grab all Custom Posts by multiple taxonomies and terms
- Create a custom taxonomy template that loops through child categories in term order?
- Custom Post Types and Complex Content Hierarchy
- If custom taxonomy else conditional [closed]
- How to implement very unusual wordpress routing structure?
- How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
- How to display custom taxonomy term specific post?
- Changing permalink of default Post with custom post
- get_queried_object not work in taxonomy page
- wp_insert_post deleting previous post custom meta
- Change custom post taxonomy values from front-end
- Pages of my taxonomy terms are showing all posts
- How to create a permalink structure with custom taxonomies and custom post types
- Is there a way to re-order the Custom Taxonomy drop-down on a Custom Post listing page?
- How to get all posts related to a taxonomy?
- Custom post types not displaying per category
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Force WordPress to only match URL in category
- Hierarchical taxonomy in permalink structure
- Can I create a taxonomy term that mirrors the name of a new custom post?
- Rewrite for custom type and custom taxonomy
- How to create TEMPLATES for TAXONOMIES? What I have to change in this code?
- Custom Post Status & Taxonomies
- predefined custom field on registration page
- Displaying taxonomy icon outside archive page
- Limit number of posts under a post type?
- Why won’t this rewrite rule work?
- Archive.php is not displaying tags
- How to not have the items of the subtaxonomy within the parent taxonomy
- How to save an integer as taxonomy term?
- Sort custom post type items by taxonomy description
- Tags and Taxonomy links not working for Custom Post Types
- Get custom post type parent category
- How can i change url structure of cpt like this?
- Taxonomy Archive URL + Template