用wordpress遇到的一个小问题

STUDENTzyr 2011-07-05 10:47:55
<?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(); ?>

结果里只有第一行有日期,不知道是哪里的问题
...全文
68 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

4,251

社区成员

发帖
与我相关
我的任务
社区描述
国内外优秀PHP框架讨论学习
社区管理员
  • Framework
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧