Keeping it simple… “Calling a List of Posts”

5, ‘category_name’ => $btmetanm,
‘paged’ => $paged,’post_type’ => ‘post’ );
$postslist = new WP_Query( $args );

if ( $postslist->have_posts() ) :
while ( $postslist->have_posts() ) : $postslist->the_post();

echo ”

“;
the_title();
echo “

“;
the_content();
echo “

“;

endwhile;

echo ‘

‘;
next_posts_link( ‘« Previous Articles’, $postslist->max_num_pages );
echo ‘

‘;
echo ‘

‘;
previous_posts_link( ‘Next Articles »’ );
echo ‘

‘;

wp_reset_postdata();
endif;
?>

The “Keeping It Simple…” series is short notes on how to do things on WordPress, writing PHP, using social media … everything and anything… when you just want a quick reminder without all the explanations