用wordpress遇到的一个小问题
<?php query_posts( 'category_name = information');?>
<?php if (have_posts()) : ?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li><?php the_date('Y/m/d','',''); ?>
<a href="<?php the_permalink() ?>" title="<?php
the_title_attribute(); ?>"><?php the_title_attribute(); ?></a></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
<?php wp_reset_query(); ?>
结果里只有第一行有日期,不知道是哪里的问题