Home › Forums › Front-end Issues › Get custom field on custom taxonomy › Reply To: Get custom field on custom taxonomy
What template file are you making changes to. I’m assuming “taxonomy-review-series.php”. I’ve never used get_queried_object_id(), and I learned something new today. I generally do something like
$queried_object = get_queried_object();
$value = get_field('field_name', $queried_object);
If you are working in a template file that is showing a specific term in a taxonomy then this should work.
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.