下面的代码显示了一个WordPress的循环。我如何修改此循环以在页面上仅显示一个帖子?哪里可以查询只显示Wordpress中的一个帖子
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="fullbox" id="post-<?php the_ID(); ?>">
<h3><?php the_category(', ') ?></h3>
<div class="fullbox_content">
<h1><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
这个问题对我来说并不合适。尝试重新措辞,我会尽力帮助。 – 2009-12-30 18:05:55
现在它更有意义吗? – drew 2009-12-30 18:11:04