posts loop
WordPress loop iterates through the_post object allowing you to get the post data.
<?php while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile;
wp_reset_query();?>
copy