Home › Forums › General Issues › want to display Category Image in loop › Reply To: want to display Category Image in loop
Hi @pagol
I’m not sure if I understand your explanation, so please forgive me if I’m wrong.
To show the image for the child category, I believe you can do it like this:
$current_term = get_queried_object();
$image = get_field('cat_thumbnail_image', $current_term );
echo '<div class="test">'.$image.'</div>';
If that is not what you want, could you please share some screenshots of the issue with notes on how you want it to be?
Thanks 🙂
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.