Sunday, 21/7/2019 | 6:53 UTC+0
Libyan Newswire

‘posts_per_page’ => 3,
‘offset’ => 3,
‘order’ => ‘DESC’,
);

$the_query = new WP_Query( $args );

// The Loop
if ( $the_query->have_posts() ) {
echo ‘

      ‘;

 

      while ( $the_query->have_posts() ) {

 

      $the_query->the_post();

 

      echo ‘

    • ‘ . get_the_title() . ‘

‘;
}
echo ‘

‘;
} else {
// no posts found
}
/* Restore original Post Data */
wp_reset_postdata();