wp_get_post_categories()
is only for Core Categories – not custom taxonomies. Try wp_get_post_terms()
. 🙂
Related Posts:
- How to change permalink structure for custom post type and it’s taxonomies?
- Get the first post term
- Creating “static” taxonomies to choose from, inside custom post type?
- How can I list all the categories under a Custom Post Type (taxonomy)?
- How to list all categories and tags in a page?
- How to sort list of custom posts to get view like a tree of posts under categories and their children’s categories?
- How can you make permalink work for custom post type and taxonomy?
- How to get a list of term names of the custom post type im currently on in single.php
- List all custom post type posts from a given category?
- Custom post type taxonomy template
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Category page only displaying the posts from a custom type
- Show Post Count of a Category
- Custom Post Types and Categories?
- How to create new category for custom post type?
- Get Post Primary Category
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- How to get the post type from a category id?
- How to show CPTs in term archive
- Display all posts in main category and 1 subcategory
- Show category ID on custom post type
- Categories of custom taxonomy don’t show any posts
- How to display custom taxonomies with links in filter menu?
- Limit amount of posts made within a custom taxonomy
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Categories and tags for custom post types
- get_category_link() for custom post type does not include custom slug rewrite?
- Targeting categories in custom fields
- Invalid Taxonomy
- Need help deciding on a taxonomy
- Get Posts by Category, Tag , and CPT Taxonomy
- Default Category Page not showing custom post type which has taxonomy category
- Categories won’t appear on custom post type
- Custom Post Type with modified permalink structure results in 404
- Custom post type, taxonomy and admin bar
- Displaying taxonomies as category links within sidebar and creating pages for these
- Custom post type archive page filters
- How to show related posts of category on post within custom posttype
- get taxonomies from terms
- Create custom post type categories
- Set a Default CPT taxonomy by taxonomy id
- how to create custom taxonomy drop downs for parents and child
- How to manage a dynamic multi-level page hierearchy system?
- Categories manage
- I can not call the categories of custom post type
- Reuse the “category” slug for a custom post type
- How to create groups like that in buddypress?
- Update Cateogory Taxonomy Count for Attachment Post Type
- Best way to structure article and issue relationship for CPT
- Custom Post Type used for FAQs Accordion
- category_name not working in WP_Query
- How can I set up the URL for a category archive for a custom post type?
- Custom Post Type order Title ASC
- show only one category posts in admin
- Is it possible for post and custom post type to share a category base slug?
- Filtering a custom post type by custom taxonomy in archive template
- Hide/Show only specific categories in wp-admin new-post.php
- wp_insert_term doesn’t work with custom post type’s taxonomy
- It is possible to get a list of post types asociated to a taxonomy?
- How to get the parent’s taxonomy?
- Same base slug for CPT post and CPT taxonomy terms
- Custom Post Type, Two categories, Two columns with Pagination
- wp_insert_post custom taxonomy
- New WP_query in template not working with CPT+category on some pages
- Post Link Filter Help [closed]
- Display types of posts in edit.php instead of All, Published, Scheduled and Draft
- get_terms showing all categories instead of the ones assigned to a specific post
- Why does querying on post_tags (which has been applied to custom post types) only return posts?
- Group posts by custom post type
- Is using taxonomies the way to go here or would custom post types be better?
- Can’t remove front from permalinks for custom taxonomy category page
- Display a grid of taxonomy terms at root taxonomy page
- How to make custom taxonomy into drop down select in a custom metabox
- Pre-selecting the category for a custom post type
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Taxonomy in URL
- How to organise this data within WordPress
- Unable to edit categories in custom post type
- Better approach for a WordPress Inventory
- How to properly use Categories with Custom Post Types
- Custom post type category permalinks and archive pages
- Get post-meta value of all custom-posts – lowest to highest year-count?
- Display custom post types by category
- Searching in multiple category + URL hierarchy in real estate WordPress site
- Define multiple prefixes for custom post type
- Custom WordPress theme not displaying posts from category
- Wanting to list all Post types under a common category
- How to show posts of the same category on a page?
- Taxonomies are not showing in the category dropdown
- Taxonomy to Post Type. Every Taxonomy Item can be Producer or Developer
- Custom Taxonomy – fields
- Dropdown switching subcategories portfolio
- Create an additional template page for every term taxonomy
- Query Distinct Taxonomies of Custom Post Type
- Show taxonomies from specific CPT
- Category / Custom Post Type permalink issue
- Categories and page filtering with pre_get_posts
- How to add to taxonomies to a post type