Display post categories in layout builder

Hi!
I´m starting to test your layout builder and it´s awesome! good work!

I´m trying to display all the categories asociated with the post, but i cant get it working, i´ve been trying with dc:term , and with the looper (but i think i did something wrong)

Could you point me how could i display this list of categories wit dynamic content?

Or should i use a shortcode function like mentioned here:

Thanks in advance!
best!

Hi @mallorcanetworks,

Thanks for reaching out!

To display the category lists in your post pages. Please follow the steps below.

1.) Create a div for the looper provider
2.) Enable the Lopper Provider in the newly created div and choose Current Post Terms as Type, Categories as Taxonomy.
3.) Then create a button then enable the looper consumer to display the categories associated to the post
4.) Then in the button URL the dynamic terms is {{dc:term:url}} and the text is {{dc:term:title}}
5.) Please check the secure note for more information.

Hope that helps.

Thank you.

Thats awesome! Thanks a lot!

You’re welcome!
It’s good to know that it has worked for you.

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