<?php
if ( have_posts() ) the_post();?>
<?php //the_content();
$found_needle = epsilica_check_ancestory($post->ancestors,"partners");
if($post->post_name=="partners" || $found_needle){
$args = array(
'post_type' => 'employee',
'employees' => $post->post_name
/*'tax_query' => array(
array(
'taxonomy' => 'employee',
'field' => 'slug',
'terms' => $post->post_name
)
)*/
);
$wp_query = new WP_Query($args);
echo epsilica_get_employees($wp_query->posts);
}else{
the_content();
}
?>
<!-- .entry-content -->
<?php edit_post_link( __( 'Edit', 'epsilica' ), '', '
' ); ?>