Dynamic content - category names

Hi,
Creating a single layout for a custom post type and trying to show a list of categories which the post falls under. I am using the standard wordpress category system and this code:
{{dc:acf:post_field field="prosjekt_kategori"}}
The thing is that I’m getting a comma separated list of the ID’s of the categories instead of the names. How do I show the names?

If I use this:
{{dc:term:name}}
Then it shows the name, but only displays one category.

Hello SteveE,

Thanks for writing in! If you want to display the categories of the current post item, you will have to create another looper inside the looper consumer and use the “Current Post Terms” as your provider.

Or you can simply use the Terms element and modify the provider to display the categories of the current post item:

Best Regards.

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