No menu items!
24 C
Rio Branco
segunda-feira, abril 12, 2021
[display-posts posts_per_page="1000" order="DESC"]
$args = array( 'post_type'=> 'post', 'orderby' => 'ID', 'post_status' => 'publish', 'order' => 'DESC', 'posts_per_page' => -1 // this will retrive all the post that is published ); $result = new WP_Query( $args ); if ( $result-> have_posts() ) : ?> have_posts() ) : $result->the_post(); ?>