',
'after' => '
',
'image_size' => 'full'
) );
?>
', '
' );
?>
parent != 0) {
$parents = apply_filters("taxonomy-images-get-terms", "", array('having_images' => false, 'taxonomy' => 'company', 'term_args' => array('include' => get_term_by('id', get_queried_object()->parent, 'company')->term_id)));
if (count($parents) > 0) {
echo '
Parent
'; echo '- ';
foreach ( (array) $parents as $parent ) {
$imgURL = wp_get_attachment_image_src($parent->image_id)[0];
$colour = get_term_meta($parent->term_id, 'color', true);
$colour = ($colour != "") ? $colour : "transparent";
echo "taxonomy ))."\">";
}
echo '
Children
'; echo '- ';
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 : "transparent";
echo "taxonomy ))."\">";
}
echo '
";
echo "
";
endif;
}
?>
".ucwords($currSec)."s slug."\">View all ".$loop->post_count."
"; echo "";
while (($loop->have_posts()) && ($i++ < 4)) : $loop->the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
echo "
";
echo "