Articles

have_posts() ) {
echo ‘

    ‘;
    while ( $the_query->have_posts() ) {
    $the_query->the_post();

    echo ‘

  • ‘;
    the_title();
    echo ‘
  • ‘;

    the_excerpt();
    }
    echo ‘

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

?>

Pin It on Pinterest

Share This