To retrieve a field from ACF for a term (instead of, for example, a post), you should use the taxonomy name, followed by an underscore, followed by the term ID instead of the post ID when calling the_field
or get_field
. Assuming you want to retrieve the field image_toc
for the taxonomy mytax
and term ID $termid
that would be:
<img src="https://wordpress.stackexchange.com/questions/151877/<?php the_field("image_toc', 'mytax_' . $termid ); ?>" />
In your case, this would amount to
<img src="https://wordpress.stackexchange.com/questions/151877/<?php the_field("image_toc', 'manufacture_1' ); ?>" />
Related Posts:
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- Get terms by taxonomy AND post_type
- Get Posts by Custom Post Type ,Taxonomy, and Term
- Get The Post Type A Taxonomy Is Attached To
- Getting custom taxonomy from custom post type
- Display current taxonomy term when inside custom post type
- Get term slug of current post
- How to limit the number of terms (terms acts like categories)
- How do I list custom taxonomy terms without the links?
- query multiple taxonomies
- wp_set_object_terms() is not replacing term, but creating a new one
- Get terms that contain posts that in turn belong to other terms?
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Custom Taxonomies Terms as Post Title for Custom Post Types upon Publishing
- wp_get_object_terms(): count relative to passed IDs?
- Retrieve single term slug
- Not Able to Insert Taxonomy Term Using wp_insert_post()
- array_pop() expects array, boolean given for $event_type_term ->slug
- How can I add programmatically custom taxonomy terms to a custom type post when saving posts?
- post count is wrong when using same taxonomy for 2 different CPT
- Glossary with Custom Post Type
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- Custom Post Type Archive Template
- Maintaining strict one-to-one association between terms and custom posts
- Displaying custom post type by first letter through custom taxonomy
- If on term-page -> get the current term?
- Separate Custom Post Type Taxonomy by Comma
- How do I display the taxonomy for a custom post type in an array
- Display Custom Taxonomy Alphabetically
- How do I require the specification of term in a custom post type and custom taxonomy?
- Custom Post, set object Taxonomy terms in plugin
- Query Custom Post Type Taxonomy term with multiple parameters
- Get terms that contain posts that in turn belong to other terms?
- How to get custom posts sub category link
- Custom while loop for hierarchical display of a taxonomy
- Display taxonomy terms, child terms and posts in a template
- How to group posts and get a mixed posts and groups view?
- Use custom walker to add taxonomy terms to main nav menu
- Add term to custom post type on draft
- Displaying custom-taxonomy-terms sorted by parent/child-hierarchy?
- Listing all term items alphabetically / sorting loop
- How to get WordPress term attached to the Post?
- Query posts with double taxonomy
- Adding predefined terms to a taxonomy
- Get parent category id from child category page for custom taxonomy
- How to get only child terms from a custom taxonomy of current post type?
- Custom query – get_the_terms not work
- How to Display Posts From Category Within a Custom Taxonomy?
- Custom Post Types Archives and Single Pages not showing custom taxonomy data
- Shared terms between taxonomies
- Get terms of a post but only if they’re also the child of a specific term
- The Difference Between Categories and Tags and Taxonomies and Terms
- How to get dropdown instance value in WordPress custom Widget
- Get taxonomy term by slug in post on archive page
- How to define the template for custom posts?
- custom hierarchical taxonomy and custom post type list contains surplus posts
- How to display custom taxonomy term meta on custom post type
- get_terms() returns Trying to get property of non-object error for custom taxonomy
- how to count the current posts terms
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- Urls in Custom Post Type work for Terms but not for its Taxonomies
- Commas not displaying in implode
- does wp_insert_term link the term to a certain post ID?
- Custom Taxonomy Terms in Menu lead to which page?
- How can I get 3 different taxonomy type terms in a div class element?
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Grab all Custom Posts by multiple taxonomies and terms
- Get terms for a specfic post from multiple taxonomies in custom post type
- Add custom post type taxonomy tag to article class
- Custom Taxonomy dont save in a frontend form for post a custom post
- Add filter to Admin list for all custom post types by their custom taxonomies
- Add the custom post term to the custom post title
- Retrieve Custom Taxonomies with Description and Slug
- How to list posts by term (custom taxonomy)
- Custom taxonomy not saving correctly
- Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category
- Taxonomy terms with the same name are updated between separate custom post types
- Query for specific taxonomy that executes a particular loop depending on volume of posts?
- ACF – Retrieve custom taxonomy from a relationship field
- Custom front-end form for adding post – Category problem
- Add a class to a div if custom post type has specific terms?
- Create loop from selected terms in ACF taxonomy field
- Sort custom posts by date and then by taxonomy
- display post count in archive page that have relation with another taxonomy term
- Return multiples taxonomies with wp_get_object_terms
- Custom taxonomy terms hierarchical navigation
- How to display custom taxonomy term specific post?
- How to list posts by terms
- Excluded Custom Taxonomy Term Posts Displaying in loop
- How to order taxonomy terms by most recent post?
- Display Custom Field or Custom Taxonomy in front page /post/product
- How to associate custom taxonomy terms with custom post type?
- WP_Query not using custom taxonomy categories on custom post type
- get_queried_object not work in taxonomy page
- If ACF Post Object post has custom taxonomy term…
- Change the term based on the value of a $variable using wp_update_post in submitting a form
- Some posts not displaying by taxonomy term
- get_the_terms child terms for current post/custom post only
- Taxonomy shows up twice on Custom Post Type
- How to display custom post type pagination buttons when processing AJAX request