Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Consulta Enlaces

// WP_Query arguments
$args = array(
	'post_type'              => array( 'enlaces' ),
	'posts_per_page'         => '30',
	'order'                  => 'DESC',
	'tax_query'              => array(
		'relation' => 'AND',
		array(
			'taxonomy'         => 'enlacestax',
			'terms'            => 'Enlaces',
			'field'            => 'name',
			'operator'         => 'AND',
		),
		array(
			'taxonomy'         => 'enlacestax',
			'terms'            => 'internacionales',
			'field'            => 'slug',
			'operator'         => 'AND',
			'include_children' => true,
		),
	),
);

// The Query
$enlaces = new WP_Query( $args );

// The Loop
if ( $enlaces->have_posts() ) {
	while ( $enlaces->have_posts() ) {
		$enlaces->the_post();
		// do something
	}
} else {
	// no posts found
}

// Restore original Post Data
wp_reset_postdata();