Indicacao

get_queried_object();
print_r($data);
// die;
 $posts = query_posts(
  array(
      'posts_per_page' => 10,
      'post_type' => 'guia-mobilidade',
      'hide_empty' => false,
      'tax_query' => array(
          array(
              'hide_empty' => false,
              'taxonomy' => 'indicacao-de-uso',
              'field' => 'id',
              'terms' => $data->term_id,
              'order'    => 'DESC',
              'orderby'  => 'post_date',
          )
      )
  )
);
// $term_children =  get_terms( $modal->taxonomy, array( 'hide_empty' => false, 'parent' => $modal->term_id ) );
 foreach($posts as $key => $post):
?>