<?php get_header(); ?>
<div class="page-wrap group">
<div class="grid">
<?php query_posts('showposts=6'); ?>
<?php if (have_posts()): ?>
<section class="blog-posts col-2-3 grid-pad">
<?php while (have_posts()) : the_post(); ?>
<article class="module" id="post-<?php the_ID(); ?>">
<h2> <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a </h2>
<p><time datetime="2001-05-15 19:00"><?php echo date('l jS F Y')?></p>
<?php the_excerpt(); ?>
</article>
<?php endwhile; ?>
</section>
これは、index.php の私のコードです。私がやりたいことは、3 つのブログ投稿を<section class="blog-posts col-2-3 grid-pad">
次に 3 つの投稿にすることです。<section class="blog-posts col-2-3 grid-pad">
では、どのように投稿をループしてページ全体に広げることができるのでしょうか? 今はそれしか取得できないので、最初にすべて表示されます