As documented, you can set the show_admin_column
argument of register_taxonomy()
to true
to do this:
‘show_admin_column’
(bool) Whether to display a column for the taxonomy on its post type listing screens. Default false.
For example:
register_taxonomy(
'subject', // The name of the taxonomy. Name should be in slug form (must not contain capital letters or spaces).
'courses', // post type name
array(
'label' => 'Subjects', // display name
'show_admin_column' => true,
'hierarchical' => true,
'query_var' => true,
'rewrite' => array(
'slug' => 'subjects', // This controls the base slug that will display before each term
'with_front' => false, // Don't display the category base before
),
)
);
Related Posts:
- Display a grid of taxonomy terms at root taxonomy page
- How to get all taxonomies of a post type?
- Saving Taxonomy Terms
- Get Posts by Custom Post Type ,Taxonomy, and Term
- How do I append multiple taxonomies to the URL?
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- How to limit the number of terms (terms acts like categories)
- How can I list all the categories under a Custom Post Type (taxonomy)?
- How to build a complex page structure
- How do I list custom taxonomy terms without the links?
- How to list custom taxonomy categories?
- Custom Taxonomy Template Post List with Sort Order
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Taxonomy archives based on Custom Post Type
- Get the ‘slug’ of a custom taxonomy
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- How to get the parent’s taxonomy?
- Include custom post type in “all posts”
- wp_insert_post custom taxonomy
- Display taxonomy term only if there’s a value
- Get all taxonomies for all post types
- Is slug “type” reserved and can’t be used in taxonomy rewrite?
- Problem with custom post types, taxonomy and permalinks
- How to create new category for custom post type?
- Fetch taxonomies by custom post type id array
- get_terms showing all categories instead of the ones assigned to a specific post
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- Query Multiple Taxominies Across Multiple Post type’s
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- Help need making decision. Ads rotating site on wordpress
- Categories of custom taxonomy don’t show any posts
- Custom Taxonomy back-end customizations
- custom taxonamy and post type
- Taxonomy custom post type URL
- Is it possible to have dedicated page for parent/child taxonomy?
- limit value taxonomy based on previous taxonomy value wordpress
- How do I display the taxonomy for a custom post type in an array
- How to conditionally redirect to the post from a taxonomy page?
- Suggested Post and Taxonomy structure
- How to make custom taxonomy into drop down select in a custom metabox
- How do I share categories across multiple post types?
- Multiple tag cloud filtering
- Get url.com/post_type/taxonomy/term work!
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Taxonomy in URL
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- How to Set Taxonomy Object Description?
- Custom select query for taxonomies that have posts categorized in another taxonomy
- Variable not working in WP_Query
- Hide meta box for everything BUT a certain custom post type
- How can I create an automatic drop down menu with my tags?
- Alphabetically sort a taxonomy.php template by post title
- how to get this tax_query working?
- Get taxonomy singular name instead of taxonomy slug inside $taxonomy query
- Custom taxonomy template list not working (404)
- Use the custom post type archive for taxonomies?
- Query custom post types & Taxonomies and list them in a table on a page
- Taxonomy template page not working
- How to show list of taxonomy terms associated with specific post?
- Creating custom post type posts and associating them with a post from another custom post type
- I have custom post type with custom taxonomy. But not found the taxonomy page..
- Get posts by category name
- Custom Post taxonomy template
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- How can I tell if I’m on a custom post type archive page?
- Filter taxonomy by CPT
- Custom post type 404 category page
- How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
- Define multiple prefixes for custom post type
- How to search through all child taxonomies using WP_Query?
- Custom Post Taxonomy Template Not Loading Properly
- Taxonomies are not showing in the category dropdown
- Change custom post taxonomy values from front-end
- Display 3 level taxonomies
- List posts that have the current url taxonomy
- How to transfer categories (default) to custom taxonomy?
- Custom Taxonomy – fields
- Pages of my taxonomy terms are showing all posts
- If custom taxonomy exist on post?
- How to get all posts assigned to a taxonomy term only?
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Taxonomy’s title
- Display all posts from single taxonomy term
- How to show post which has the specific taxonomy terms?
- WordPress add taxonomies/terms list as a menu in archive page
- How to create TEMPLATES for TAXONOMIES? What I have to change in this code?
- Displaying taxonomy icon outside archive page
- Custom post type post taxonomies
- Show taxonomies from specific CPT
- insert a taxonomy for a custom post type
- Custom post type and custom taxonomy archive inaccessible
- Apply custom names for generic custom taxonomy name?
- See the process of creating a taxonomy and tell me where I made a mistake
- Display associated taxonomy child name on single CPT page
- Issue On Listing Woocommerce Parent Tag List
- Taxonomy listing issue – does not display how I would like
- Show custom category archive as front page and remove taxonomy slug from urls
- Taxonomy Archive URL + Template