テスト

<ul>
<?php query_posts('showposts=6');
if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>" style="float:left; margin-right:10px;">
<?php the_post_thumbnail(array(51,51)); ?></a>
<a href="<?php the_permalink(); ?>" style="width:300px; padding-top:8px;"><?php the_title(); ?></a>
</li>
<?php endwhile; endif; wp_reset_query(); ?>
</ul>
タイトルとURLをコピーしました