Personas query soux calvo
// WP_Query arguments
$args = array(
'post_type' => array( 'cartas' ),
'tax_query' => array(
array(
'taxonomy' => 'personas',
),
),
);
// The Query
$query_personas = new WP_Query( $args );
// The Loop
if ( $query_personas->have_posts() ) {
while ( $query_personas->have_posts() ) {
$query_personas->the_post();
// do something
}
} else {
// no posts found
}
// Restore original Post Data
wp_reset_postdata();