get_queried_object(); // get the thumbnail id using the queried category term_id $thumbnail_id = get_term_meta( $cat->term_id, 'thumbnail_id', true ); // get the image URL $image = wp_get_attachment_url( $thumbnail_id ); // print the IMG HTML echo "
"; } ?>

industrieel