任何人都知道爲什麼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