Getting terms from a custom post type
-
HI,
i am trying to get the category from a custom post type
so referring to this : https://github.com/timber/timber/wiki/TimberPost#terms
i am doing like that{% for person in people %} {% for term in person.terms('category') %} <li><a href="{{term.link}}">{{term.name}}</a></li> {% endfor %} {% endfor %}
but it doesn’t work…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Getting terms from a custom post type’ is closed to new replies.