Thanks helgatheviking, it didn’t work as is but you definitely set me on the right path. I got it working by doing the following:
<?php foreach((get_the_terms($post->ID, 'your-taxonomy-here')) as $term) { echo $term->term_id. ''; } ?>
Replace “your-taxonomy-here” with your own and your ready to go.
Related Posts:
- How to add images to taxonomies?
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Combine multiple custom user taxonomy in single url
- Advanced Tax Query
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- How to display custom taxonomy in multiple columns?
- Custom taxonomies making WP very slow – Way to fix?
- Sorting taxonomy columns by meta value numeric
- Changing stylesheet depending on custom taxonomy terms
- How do I taxonomy terms based on terms they are used alongside?
- Custom taxonomy [year] is directing to yearly archive
- Taxonomies on custom taxonomies
- Getting associated taxonomies
- How to add images to taxonomy terms? [duplicate]
- one post per term taxonomy
- Query custom taxonomy for category including children
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Tracking the name of a custom taxonomy
- Add terms to a taxonomy archive from within the same taxonomy
- Fill New Taxonomies
- Custom Taxonomies Archive Page 404
- How do you search for a post by custom taxonomy?
- WordPress Taxonomy Menu
- wp_get_object_terms count on taxonomies within an category archive
- Make custom post type display with custom taxonomy in url
- Querying posts globally based on custom taxonomy with its own taxonomymeta table
- How to use taxonomies on attachments with the new Media Library?
- Add custom taxonomy fields when creating a new taxonomy
- How to display custom taxonomies in posts?
- Creating Custom Taxonomy without mapping to any post type
- How to modify the query in taxonomy-custom.php to sort term archives by a custom meta field?
- Exclude specific slug in ‘get_terms’
- wp_insert_term – parent & child problem
- Hook to process a new taxonomy tag before it is created?
- Multiple users – only allow them to manage their own terms for custom taxonomy when logged in
- wp_options table value
- Custom Taxonomy Only Showing Top Level Terms in Admin?
- Is it possible to get a Previous/Next Taxonomy term archive URL?
- How do I display a tag cloud with both post tags AND a custom taxonomy?
- Adding session variable and/or cookie based on user-selected input
- Improving WP_Query performance for multiple taxonomies
- Create Child Taxonomies
- Query Posts by taxonomy/Taxonomy Child Custom order
- How to count the number of terms in a taxonomy
- Make a taxonomy column sortable in the admin?
- Display only first level children of my custom taxonomy categories
- Get taxonomy parent using child slug (from merged taxonomies)
- How to display custom taxonomy images on index.php?
- get_term and get_term_by return null or false, even though term exists
- Get number of post who belongs in two taxonomies!
- How to conditionally redirect to the post from a taxonomy page?
- WordPress thinks my custom taxonomy pages are search pages #seo
- problem in taxonomy-{taxonomy}.php pagination
- Adding custom taxonomy in my existing category URL
- How to get posts which must match both custom taxonomies?
- How can I change the output display of my pagination?
- How to get list of only custom taxonomies?
- WP_Query tax_query – Show results if child has parent X
- Variable Not Working Inside is_author() Array
- How can I get Taxonomy Images to work with ‘orderby’ argument?
- Use wp_list_categories to list parent categories from actual term
- Trash Bin for Categories?
- How to add a dynamic dropdown derived from custom taxonomy
- Retrieve the child terms by having the parent’s information
- How to create a non removable taxonomy term?
- Custom dropdown list taxonomy not saved
- WordPress taxonomy terms archive template help
- How to get all the terms from a custom hierarchical taxonomy via REST api?
- How to show category list in WordPress
- Get post meta value outside of the loop
- Unable to create a new taxonomy
- Change link of taxonomy when get_the_term_list( is used?
- transfer two existing taxonomy terms into one custom metabox
- Custom taxonomy shows full articles
- How to add all existing Custom Taxonomy to Admin Menu Creations Interface?
- Taxonomy On Index Page
- Why get_terms() behaves strangely when being called in admin (for use in meta box)?
- qtranslate-x problem with custom term description
- Templates files for custom post type with custom tags
- Display List of Categories Within a Custom Taxonomy
- taxonomy query on front page
- Creating a Taxonomy Page [duplicate]
- Change order custom taxonomy
- Looking for suggestions on creating simple database (Help!!)
- Extra fields on categories that is available via the WP-API?
- Custom taxonomy – query returns an error
- Register custom taxonomy from a Advenced custom field option page
- How to get multiple Taxonomies not All Taxonomies?
- Get Posts with matching lowest taxonomies
- Any way to make custom taxonomy field searchable?
- Primary Taxonomy for Post
- query posts returns 10 records
- Insert taxonomy term to different table
- Getting taxonomies specific to categories
- Remove Tag Cloud Words from Custom Taxonomy
- How to add/enqueue Custom CSS for a custom taxonomy page?
- Complex Taxonomy scheme
- Add custom display condition to Elementor Theme Builder for custom taxonomy children, grandchildren, and great-grandchildren
- Add text in custom taxonomy
- How do I check if a post has a term with a particular ancestor/parent?