last by category
// WP_Query arguments $args = array( 'post_type' => array( 'posts' ), 'post_status' => array( 'publish' ), 'order' => 'DESC', 'orderby' => 'date', 'tax_query' => array( array( 'taxonomy' => 'noticias', 'field' => 'slug', ), ), ); // The Query $noticias = new WP_Query( $args ); // The Loop if ( $noticias->have_posts() ) { while ( $noticias->have_posts() ) { $noticias->the_post(); // do something } } else { // no posts found } // Restore original Post Data wp_reset_postdata();