<?php
$terms = get_terms( array(
'taxonomy' => 'cat_services',
'hide_empty' => false,
) );
if ( !empty( $terms ) && !is_wp_error( $terms ) ) {
foreach ( $terms as $term ) {
$image = get_field('cat_thumb', $term);
?>
<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" class="servise__img"/>
<?php
}
}
?>