Category and tags for post single and list item please

Hi team,

As I am following tutorial in frontity I cannot find the way on how to display category and tags on list-item.js and post.js.

Any clue would be appreciated. Thanx

Hi @futur3int

Welcome to the community forum. We’re delighted that you’re interested in Frontity.

Awesome that you figured out your problem. Sounds like you’re doing great.

By the way, we’d love to know what you’re planning to build with Frontity.

Hi,

Thanx for your reply. I am very new to react. Im going slowly. Im trying to get some hints on how to display terms from a custom taxonomy on the list-item.js page. My custom tax is defined in the rest api, i can see it and i can call with item.mycustomtax the terms id related to the post. Now I guess theres a simple way to retrieve and display terms names from those ids. A tiny help would be awesome. TY

Hi @futur3int

If I understand your question correctly I think you will need to use a handler. Here’s a couple of examples which might help you:


Hope this helps. Let us know how you get on with this.