You mean get_the_terms()?
<?php
$terms = get_the_terms( $post->ID, 'block_type' );
foreach($terms as $term) {
echo $term->name;
}
?>
Or have I simplified this too much?
Related Posts:
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- Retrieve a specific field from taxonomy term through advanced custom fields [closed]
- get terms that have post with custom post type between 2 values
- Show ACF field from custom taxonomy and display on the single template
- Building an Advanced Search (text, tags, category, custom fields) – Getting the wrong SQL query
- Linking three taxonomies with ACF
- Get Custom Field Values by Another Custom Field in WordPress
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- Create 3 Level Relations with ACF and WordPress
- get_posts of Custom Post Type AND Custom Taxonomy
- Retrieve value of a category’s custom field
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- Query Custom Post Type Taxonomy term with multiple parameters
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- How to group posts and get a mixed posts and groups view?
- How to define the template for custom posts?
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- ACF – Retrieve custom taxonomy from a relationship field
- Custom front-end form for adding post – Category problem
- Create loop from selected terms in ACF taxonomy field
- Sort custom posts by date and then by taxonomy
- Display Custom Field or Custom Taxonomy in front page /post/product
- WP_Query not using custom taxonomy categories on custom post type
- If ACF Post Object post has custom taxonomy term…
- Some posts not displaying by taxonomy term
- Taxonomy shows up twice on Custom Post Type
- How to display custom post type pagination buttons when processing AJAX request
- Display custom tax in “while” loop
- Best way to have one product in both rental and sale parent category
- How to query posts by meta keys AND under specific category?
- How to query the content of a specific custom post type?
- Advanced Custom Fields: query posts filtered by multiple field values
- ACF Relationship: Group posts by parent category term, then child [closed]
- Custom taxonomy meta fields
- Custom Sort Order for Custom Post Type Taxonomy
- ACF Pro simple Business Directory – Requesting assistance with created Templates and associated Functions.php Coding
- Custom fields disappearing when a custom post type is assigned
- Display all posts in a custom post type, grouped by a custom taxonomy
- How to create a custom template for a custom taxonomy?
- Custom post types filtered by taxonomy using REST API v2
- Retrieve single term slug
- How can I add programmatically custom taxonomy terms to a custom type post when saving posts?
- Understanding Permalinks on Custom Post Types
- SQL to update custom post taxonomies
- Custom Post Type/ Taxonomy URL rewrite
- Adding Custom Taxonomy to WordPress default Post type
- Programmatically adding posts
- Keep main articles and author blogs seprerate, News / Magazine like site
- I can’t choose the custom taxonomy in my custom post type on Gutenberg
- Customize my custom taxonomy table in Admin panel
- Custom-Posttype & Custom Taxonomy WP_Query
- Custom post type url with category
- Adding custom post category slug in permalink causes 404 error for pages and posts
- Stuck in Order by more then one
- Taxonomies don’t show up on in the dashboard page for a custom post type in wordpress 5.22
- Custom taxonomy rewrite with query var returns %2F in URL
- Remove slug in URL custom post type
- Taxonomies relations
- Adding custom taxonomy in same menu place with two custom post types
- Integrate Custom Post Type Events into Calendar
- Custom post type pagination 404
- List Posts By Custom Taxonomy
- Many to many to many custom post relationships
- Iterating through Object Array to customise display of full custom taxonomy for custom post type
- WordPress multisite – is it possible to have different taxonomies for each site?
- How to filter a custom post type by custom taxonomy without 404
- Custom Columns for Custom Post Type Manager
- Group Custom post type in a taxonomy page by its child taxomony
- Get child categories of custom taxonomy category?
- Custom taxonomy query showing more than 4 posts
- Check category_name or taxonomy slug for a Custom Post Type?
- How to display post from one custom post type in another custom post type with the same taxonomy?
- how to achieve this permalink abc.com/CPTName/CustomPostTypeCategorySlug/categoryname
- How to display list of custom post taxonomy terms and their posts (if any)?
- have to do a while have post to show for two custom post types sharing the same taxonomy?
- How to handle this wordpress custom post type rewrite problem?
- List taxonomies by post id
- How do i display all categories of a custom post type and have respective page for them?
- Is it possible to arrange Custom Post Types from CPTUI into a Folder?
- Show specific posts with WP_Query using ACF Post object
- Insert custom taxonomy into category query
- Add active class to foundation 6 tabs while looping categories
- Custom post types with child taxonomy not visible in admin
- 404 error next-page [2] PageNavi custom type taxonomy
- Filter By Term Not Working – Custom Post Type
- Custom post type category archive URL redirects to home page
- How to display category wise posts on seprarate template
- Organizing The Custom Post Type with Taxonomies / Parent Posts
- show custom taxonomies in hierarchy
- Display 2nd category, only once, as sub-heading, in the loop
- Fetch posts list from fist CPT taxonomy term and list under 2. CPT
- using ACF datepicker to filter posts on a page
- Display Custom Post Type in Custom Taxonomy URL
- how to limit query_post to first page?
- List custom taxonomy terms
- How to pull a number posts from a specific Taxonomy within a Custom Post type
- How to Create Short Code Using Custom Post type
- Custom Post Type with multiple Custom Taxonomies / Hide Taxonomy Slug from URL
- Title- Custom taxonomy by using get_term
- Assign Default Taxonomy to Post When Created