$endDate) ? $endDate : $jEDate);
return (((strtotime($jSDate) < strtotime($endDate)) && (strtotime($jSDate) > strtotime($startDate))) && (strtotime($jEDate) > strtotime($startDate)));
}
$loop = new WP_Query( $args );
?>
false, 'taxonomy' => 'company', 'term_args' => array('parent' => 0)));
if ( ! empty( $terms ) ) {
echo "";
echo "
";
foreach ( (array) $terms as $term ) {
$imgURL = wp_get_attachment_image_src($term->image_id, 'detail')[0];
$colour = get_term_meta($term->term_id, 'color', true);
$colour = ($colour != "") ? $colour : "var(--light)";
if (!$imgURL) {
echo "taxonomy ))."\">".$term->name."
";
} else {
echo "taxonomy ))."\">";
}
}
echo "
";
echo "
";
}
?>