• Resolved studioavanti

    (@studioavanti)


    Hi,

    I have a custom taxonomy populated by terms that have each a description.
    I render all terms on a page using CCS [for/each] feature but can’t figure how to get the description:

    [for each=brands empty=true]
        <p>Name: [each name]</p>
        <p>Description: [each excerpt]</p>
    [/for]

    [each excerpt] doesn’t work, any idea please?

Viewing 1 replies (of 1 total)
  • Thread Starter studioavanti

    (@studioavanti)

    I asked too soon, the term’s name is simply description.
    This works:

    [for each=brands empty=true]
        <p>Name: [each name]</p>
        <p>Description: [each description]</p>
    [/for]
Viewing 1 replies (of 1 total)
  • The topic ‘How to render a custom taxonomy term description in a for each?’ is closed to new replies.