[display-posts category_display=”true”] will list the categories associated with that post.
You can change the “true” part to a taxonomy name to list the terms of a different taxonomy. So to list the tags associated with a post, use [display-posts category_display=”post_tag”]
You can also use category_label to change what appears before the list. Ex:
[display-posts category_display=”post_tag” category_label=”Tagged as: “]
Thanks for your answer,…
maybe I didn’t explain correctly 😉
I want to display a list of post from a category
so I use
>> [display-posts category=”catname”]
and I want to display next to each post title the tag attached to it
EX: post from category “sunshine” and tag from post
[display-posts category=”shiny”]
>>
The Sunshine post title – TagSun tagYeah
The Moonshine post title – TagSun tagMoon
The ShinyBag post title – TagSun tagMoon
hope it’s more clear 😀
Thank you for your help
I’m sorry my answer wasn’t clear, but I was addressing your question.
To list posts in the “shiny” category and include the attached tags, use
[display-posts category=”shiny” category_display=”post_tag”]
hello,… thanks for your answer !!
I tried to add
category_display=”post_tag”
but it return only the list from the category but no tags next to it