Why is only the latest post styled in this loop?
-
For some reason, only the latest post gets styled within the
container
.<div class="container"> <?php while ( have_posts() ) : the_post(); ?> <?php the_title(); ?> <?php the_content(); ?> </div> <?php endwhile; ?>
Would anyone know why this is?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Why is only the latest post styled in this loop?’ is closed to new replies.