the post function wordpress

Solutions on MaxInterview for the post function wordpress by the best coders in the world

showing results for - "the post function wordpress"
Kevin
14 Oct 2016
1if ( have_posts() ) {
2    while ( have_posts() ) {
3 
4        the_post(); ?>
5 
6        <h2><?php the_title(); ?></h2>
7 
8        <?php the_content(); ?>
9 
10    <?php }
11}
12