<?php // Get the taxonomy's terms $terms = get_terms( array( 'taxonomy' => 'applications', 'hide_empty' => false, ) ); // Check if any term exists if ( ! empty( $terms ) && is_array( $terms ) ) { // Run a loop and print them all foreach ( $terms as $term ) { $icon = get_field('application_icon', $term); // echo '<pre>'; print_r($term); echo '</pre>'; ?> <div> <a href="<?php echo esc_url( get_term_link( $term ) ) ?>" class="applicationBox d-flex align-items-center" > <div class="appBox align-self-center"> <div class="row align-items-center"> <div class="col-auto appIcon"> <img src="<?php echo $icon; ?>"> </div> <div class="col"> <h5><?php echo $term->name; ?></h5> <p><?php echo $term->description; ?></p> </div> </div> <hr> <div class="viewMore">View More</div> </div> </a> </div> <?php } } ?>