ACF returning category ID, not value

Hi. I’m working on a single page layout that leverages an ACF field group that has both single-element components (number, text) but also 3 taxonomies within a custom post type.

When I try to call the values logged in a specific page, I can get the_content and the two single element fields to show up no problem. But when I try the same for the taxonomies, I either get nothing via an ACF query (for example {{dc:acf:post_field field="vineyard"}}, or I get the category ID number using {{dc:post:meta key="vineyard"}}.


(I’ve set each of those taxonomic fields to Return Term Object, btw)

I’m guessing a clue is that when I use the Dynamic Content generator I see those single-fields, but not the fields that are taxonomies:

Screenshot 2024-08-01 at 7.13.14 PM

I know ACF is a third party product, but I have a feeling I’m just not constructing the query correctly, and hoping you can give me some guidance. Thanks in advance!

Hello Matt,

Thanks for writing in! Please be advised that you do not use the Post Meta displaying the taxonomies. You should use the prefab Terms element to display the taxonomy.

You can use this element event if you have created the taxonomies with ACF plugin.

If this does not help, please provide access to the page so we can check. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.