Home › Forums › Front-end Issues › Woocommerce using acf into templates (categories terms) › Reply To: Woocommerce using acf into templates (categories terms)
Hi @ayottepl
Thanks you very much for sharing this with us!
I wonder if you read over this guide:
http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-a-taxonomy-term/
On that page, there is code to find the current term ID / taxonomy, etc
This would help clean up your body_class code!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.