Home › Forums › General Issues › How to show up coustom field of category in author.php › Reply To: How to show up coustom field of category in author.php
Yes, if you want to get fields from a category and not the post then you must supply the category ID in the form of "term_{$term_id}"
or you can supply the term object as in your first code example.
You can get the terms of the post using get_the_terms()
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.