Support

Account

Home Forums Front-end Issues Showing ACF taxonomies as classes

Unread

Showing ACF taxonomies as classes

  • Hello,
    I’m using a taxonomy field and I’m trying to show the terms used as a class name in a div.

    Something like:
    <div class="term1 term2 term3">Item</div>
    Where these terms are grabbed from the taxonomy field in the panel.

    Does anyone know how can I show the items without whitespace, commas, or anything? Just one next to the other with an space, like normal CSS classes.

    Thanks in advance

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.