What are the steps to add the category of a post to a layout? The different ‘meta’ fields don’t work.
Hi @clefler,
Can you please elaborate on what you are trying to achieve, providing a screenshot marked with the section or any videos will be a great help to understand?
Thanks
You know how you can ad the post title to the layout and it dynamically puts the title? I want to do the same thing with the category of the post.
Never mind I found the answer here…
Disappointed because it means I can’t even duplicate the current blog roll that is already in Pro with layer builder.
Sorry to hear that you’re disappointed, @clefler, but glad that you found the solution to your question nonetheless.
In the video tutorial for the Archive Layout Builder, the first shot has what appears to be tags, #Architecture #Art Deco etc…
Are these manually entered for the first post in the archive or do they use dynamic content. I don’t understand the idea of dynamic content for blog layouts without being able to use categories or tags.
Hey @clefler,
The tags were displayed using the dynamic content and with the Looper feature. You can display the category/ries of the post in the builder by utilizing the Looper feature and the dynamic content feature. To display the categories, you need to insert a DIV element and enable a Looper Provider set to “Current Post Terms”.

Then you need to add an element like the button as a Looper Consumer to iterate over the selected taxonomy.
Hope this makes sense.
thank you! will try that
You are most welcome.
Ok thanks, I understand the docs now and was able to get a category on the repeating posts.
I was wondering how to handle the case where posts have multiple categories like in the docs where it mentions “virtual” items.
Hey @clefler,
If a post has multiple categories, the latest category you assign to a post will be used by the {{dc:term:url}} tag.
If I’m not understanding you correctly, please details what exactly you’d like to achieve.
Thanks.
oh ok
I made a button for the category but would like to be able to show the multiple categories (with links) if the post is assigned to multiple.
Hi @clefler,
If you are using Current Post Terms as mentioned above it should let you loop over all the categories on that post. If you’re only getting one, check the element where you enabled Looper Consumer and make sure it is set to consume “All”. Hopefully this helps!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.