get_the_terms( $id, $taxonomy );
second parameter should be your taxonomy name instead of category name
Related Posts:
- Getting custom taxonomy from custom post type
- What should I use – Taxonomies, custom fields, Post Type?
- Custom Comment Types
- Not Able to Insert Taxonomy Term Using wp_insert_post()
- Restrict taxonomy dropdown to post type
- array_pop() expects array, boolean given for $event_type_term ->slug
- Get template part based on custom taxonomy term
- WordPress returns 404 on custom rewrite rule conflict in parameters
- Pages, Custom Posts & Custom Taxonomy defining slug structure
- How to rewrite custom post type URL for multiple depths instead of one specific depth
- How to show a tag archive of one post type only
- Conditional two level dropdown filter for custom post type
- Custom Taxonomy archive returns 404
- Custom edit post column – category not showing
- How to show multiple post types on taxonomy archive?
- Custom post type / custom fields
- using custom taxonomies on non wp table?
- WP 3.1 getting tax_query to work in query_posts()
- Custom Taxonomy Not Showing Up on Post Page
- Custom permalink – append taxonomy name and term name at the end of permalink
- Get the posttype of a taxonomy/term
- WordPress Custom Post types and Taxonomy relationships best practices
- Custom Taxonomy Creates Unwanted Integer Terms on Post Save
- Add hierarchical taxonomy to permalink for custom post type
- Display custom post type taxonomies as an archive page
- Custom Taxonomy Not Showing in Menu
- How to get posts from multiple custom post types according to it’s custom taxonomy terms?
- how to add extra meta box or textarea into custom post types
- Prevent custom taxonomy from being added to admin menu?
- get_template_part for each level of taxonomy term
- Podcast Guest List
- custom permalinks based on taxonomies for custom post type
- Custom taxonomy in URL showing 404
- Update post terms with custom taxonomy
- Deleting Custom Taxonomy Term only increments tag_ID
- Get custom post type list for every category shortcode
- getting all values of a custom taxonomy if there is no post
- Listing tags from a custom post type
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- How to duplicate entire custom post type
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- create a subcatagory for a custom post type and out put url as posttype/subcategory/item
- How do I display the taxonomy term alongside the post type post title?
- Get related posts of child term of custom post type
- Filter term taxonomy metabox in custom post type
- Custom Post, set object Taxonomy terms in plugin
- Hierarchy and access control for Custom Post Types (CPT)
- How to get list of taxonomy slugs ordered parents>childs?
- Custom post type / taxonomy rewrite archive page 2 gives 404
- single-{post_type}.php not working
- Loop through custom posts by taxonomy and display the titles in a list, it is repeating 8 times
- How to add current custom taxonomy slug to body class
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- How to define a term for custom taxonomy
- Get parent category(taxonomy) ID from single template of a custom post type
- Dynamic CPT / Taxonomy
- How to approach a site where it has sub-businesses, each with its own pages (“articles”, “staff”)? Don’t want to use WP multisite
- How to query custom post type by two terms?
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- Get custom term meta problem on single post type
- Creating custom post type posts and associating them with a post from another custom post type
- Different structure/content for posts from a custom post type
- Get terms for a specfic post from multiple taxonomies in custom post type
- Use different categories for a custom post
- Filter posts by specific custom category and current tag
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- Custom Post Type URL doesn’t work anymore
- using custom taxonomies with custom post types: display list of posts by ‘category’
- Custom category URL not displaying posts
- How to get post count of specific taxonomy that have store name & category
- WordPress REST API V2: “{CUSTOM_POST_TYPE} matches Term ID List and Term ID Taxonomy Query, but should match only one.”
- display post count in archive page that have relation with another taxonomy term
- Filter Custom Post Type Posts by Taxonomy
- How to display only child category post in related posts in custom post type?
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- CPT: multiple loops with different terms
- Specific template for subcategory of custom taxomy
- Automatically add CPT UI categories to the menu
- Custom category taxonomy – archive page not showing up
- tax_query not working?
- Adding Custom Taxonomy Along-with Post Name in Post Type Permalink
- I want to display my custom post type arranged by taxonomy
- I have a custom taxonomy assigned to two post types. How do I create URLs for different term archives for each post type?
- Display posts grouped by post type in taxonomy.php
- Advice on Categorization for a Custom Post Type
- Pods pagination erases my sub menu
- How to have permalink structure based on taxonomy terms
- Add a meta to custom post type which corresponds to a particular taxonomy
- Get custom taxonomy name from custom post
- Custom taxonomy archive is visible to only subscibed users
- How to List CPTs Under One Tax Term
- custom post type and taxonomies in a php class
- Adding 2 CPT with multiple custom taxonomies to permalinks
- custom taxonomies are not showing up in get_taxonomies
- Displaying or Hiding Metadata on Page from WP CPanel
- Invalid Taxonomy in template
- How to change custom post type slug without damage seo? [closed]
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- Taxonomy listing issue – does not display how I would like