Children

    false, 'taxonomy' => 'company', 'term_args' => array('child_of' => get_queried_object()->term_id))); foreach ( (array) $children as $child ) { $imgURL = wp_get_attachment_image_src($child->image_id, 'detail')[0]; $colour = get_term_meta($child->term_id, 'color', true); $colour = ($colour != "") ? $colour : "var(--light)"; echo "taxonomy ))."\">
  • "; } ?>
have_posts() ) : echo "
"; echo "

".ucwords($currSec)."s slug."\">View all ".$loop->post_count."

"; echo "
"; while ( $loop->have_posts() ) : $loop->the_post(); get_template_part( 'template-parts/content', get_post_format() ); endwhile; echo "
"; echo "
"; endif; } ?>