任何人都知道为什么the_content()不会显示在我的single.php页面上,而它显示在index.php上?WordPress和the_content()
<div class="block">
<h1><?php the_title(); ?></h1>
<p class="date">
<?php the_date('d F Y'); ?>
</p>
<p>
<?php the_content(); ?>
</p>
</div>
请显示一些代码。 – 2010-06-28 10:56:40
您可能需要使用pastebin.com在某处上传single.php和index.php中的代码。所以我们可以看到出现了什么问题...... – ariefbayu 2010-06-28 10:57:08
是显示的标题和日期是否正确?是否在while循环内 – RobertPitt 2010-06-28 10:58:25