Assuming you have added the category
taxonomy to your Custom Post Type, you can simply call the_category()
.
Alternately, if you’re using a custom taxonomy, you can echo the results of get_the_terms( $id, $taxonomy )
.
Related Posts:
- Load custom posts with same tag as page
- how do I group content in magazine-style ‘issues’?
- How to get a list of term names of the custom post type im currently on in single.php
- List events by month
- How to show related posts by category or custom post type?
- Custom post type loops with different page templates
- Query Custom Post by Category
- How do you output custom code between posts in the loop?
- How to append element after thumbnail
- Display custom field of specific post where post title matches variable
- Return array of categories to php function for current post
- Create a random unique 6 digit number as custom field for custom post type
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Get Post Primary Category
- Weird problem happening with custom taxonmy when creating/updating posts
- Very Slow Page – How to Optimize # of Queries?
- Custom Post Type Loop throws 500 error when used in widget
- Get posts from a custom post type by child categories of a parent category
- How to make sure content doesn’t display if selection is empty
- CPT + CMB2: data not displaying for only first post in loop
- Get parent categories of custom post type
- How do i calculate the total of values of custom fields in custom post types?
- I would like to have different styles for my posts based on the content of each post
- Checking if Post Title is Unique as Loop Criteria
- Show a Category X’s custom post type on Category X archive page?
- Custom Tag Description unable to display just below and outside of the Loop
- Custom post type, organized by categories
- WP Query with categories only shows one post and ignores the category
- Make a custom_post translatable
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Category.php template for custom posts
- Including all post id’s of a custom post type into an array
- Tag page only display 10 posts
- How can I group posts by months and years?
- Trying to Create a PHP Variable for post_type that can be referenced Site Wide
- Loop increase number
- Using wp_query to modify the loop in index.php for a CPT
- WP_Query Custom Post Type if Category ID Equals
- Assign category a default post type
- Control content before and after custom post type loop
- Assigning a category to a custom post type in WordPress
- Get data from PHP to JavaScript to set position of each post on front page
- get_terms() parent, child and grandchild
- Use post in multiple places on a page with multiple posts
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- foreach loop inside the loop creating duplicates in output
- Compare Two Custom Post Types Using The Same Custom Taxonomy
- Menu’s breaking, now showing all page links on site
- CPT archive page – show one post from each taxonomy term
- How can I increase the post count for custom post types only?
- Fetch data from two custom post types and create multidimensional array for output to html table
- Page that lists publications by classifying them by taxonomy
- CPT loop doesn’t seem to account for post date?
- What is the best way to set the post category (Custom Post Type) automatically based on the one of the tags assigned to the post?
- Custom front-end form for adding post – Category problem
- Pagination not working in custom post type. Help
- when looping through custom post data not appearing
- In the php, how can I have a category of a custom post type display?
- Accessing download link from the loop with WP Download Manager Pro
- Custom WordPress theme not displaying posts from category
- Custom Post Type has wrong label and is not found when called by a loop
- Combine multiple separate lists into one
- Looping to organize and display custom posts by category using PHP and WordPress
- Pagination for a cpt filtered with a category
- Get meta values from parent post and save in child post
- Show parent category and subcategory once in while loop
- Custom Post By Category
- WordPress trying to query two custom types to get child from the parent
- Add active class to foundation 6 tabs while looping categories
- Display related post content and custom field content
- Excluding category from loop not working
- WordPress loop add heading before first of type
- Custom post types not displaying per category
- Only show current category post
- How to make a shortcode for my WP_Query Loop? [duplicate]
- Strange behavior on WP_query
- get_post_meta for Custom Post Type ( CPT )
- WordPress query posts by custom post type not workng
- can’t see categories in appearance-menu-categories
- Custom Post Type + Category archive
- How to query all custom posts of a certain type and checking what category they have
- WordPress Custom Post Type and sort by Tags
- How to call Shortcode categories for custom post types?
- Posts without featured image using other post’s featured image
- Order by custom field attribute
- Looping taxonomy in taxonomy?
- Categories and page filtering with pre_get_posts
- Stop header code from showing in category page?
- Query Custom Post Type by Tag
- How do I filter a custom post type loop by a field?
- display all posts in current category
- Add Category names to post lists of custom post type
- How can i list custom post type categories?
- Add category in post type dynamically
- Use regular category with custom post types
- How i can add ‘N’ page of ‘N’ pages under posts loop?
- get_terms() returns Trying to get property of non-object error for custom taxonomy
- Custom post type paging return home page
- Show tags of custom post types in WordPress