I've used this code:
<ul>
<?php
$args = array(
'post_type' => 'integrante',
'orderby' => 'title',
'order' => 'asc',
'lang' => 'pt',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'integrante_category',
'field' => 'slug',
'terms' => array( 'equipe_fundador','equipe_financas' )
),
),
);
$query = new WP_Query( $args );
while ( $query->have_posts() ) : $query->the_post();
?>
<li>
<h3 class="nome"><?php the_title(); ?></h3>
</li>
<?php endwhile; wp_reset_query();?>
</ul>
It returns all posts from the two taxonomies that I put. However, I need it to include a division ( title ) between one taxonomy and another, so it would have the mark from where the loop of each one begins.