How to display all added images in category in loop
-
Hello,
I use you code to display
if (function_exists(‘get_wp_term_image’))
{
$meta_image = get_wp_term_image($term_id);
//It will give category/term image url
}echo $meta_image; // category/term image url
I create the loop in my wordpress.
The code is display one single image via term_id .
How to change the code to display all images added in category in loop?Best regards
- The topic ‘How to display all added images in category in loop’ is closed to new replies.