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?
- Add taxonomy or category slug to custom post types URL
- How to determ a custom post type url?
- Custom Taxonomy as checkbox or dropdown
- Get category id from post id of a custom post type
- Custom Taxonomy as Dropdown in admin
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- Custom-Taxonomy as categories: Remove “most-used” tab?
- Add filter to wp_list_categories and query what type of taxonomy-terms it use?
- Custom Post Type: How to display all of same taxonomy?
- Taxonomy structure of Sport site
- How to display recent / random posts by its category
- Exclude specific taxonomy term when using wp_get_post_terms
- Querying Term Posts in Loop
- Linking to the most recent post in a Custom Post Type
- Custom Taxonomies not appearing in Admin
- Conditional Statement custom post type category
- Can taxonomies of custom post types be used with category actions?
- Problem with displaying posts in the CPT category
- WordPress Doesn’t Generate Taxonomy Archive
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- How can I list Custom Post Types created with the Types plugin under categories?
- Review site custom post type structure
- How to get all Custom Post Type Filtered by one Specific Taxonomy Term
- How to add current custom taxonomy slug to body class
- Custom post types with categories in template
- Getting List of child terms from custom taxonomy parent
- Get terms for a specfic post from multiple taxonomies in custom post type
- Add Extra Category Field to CPT Categories
- How to get post count of specific taxonomy that have store name & category
- Do post types share the same records using the same taxonomy?
- How best to structure multiple CPTs and tax within a ‘resources’ section
- Show Custom Post Type based on Category on Archive Page
- Convert With Custom Post Type
- Get all posts for custom taxonomy term
- Custom category taxonomy – archive page not showing up
- tax_query not working?
- Get full control over custom post type url
- Simple term-archive-linked Taxonomy Entry output
- archive.php can’t find categorized posts
- Using get_terms() as shortcode attribute
- Custom Post Type or just Post Categories?
- Query multiple post of which one by taxonomy
- Taxonomy listing issue – does not display how I would like