query_posts question
-
<?php if (have_posts()) : ?>
<?php query_posts(‘cat=3’); ?><h1 class=”subtitle_home”>” rel=”bookmark”><?php the_title(); ?></h1>
<h2 class=”tagline”><?php echo c2c_get_custom(‘tagline’); ?> <?php edit_post_link(‘Edit’,'(‘, ‘)’); ?> </h2><div class=”storycontent”>
<?php the_excerpt_reloaded(70,”,”, true, ‘<br><div class=”moretext”>Read On …</div>’); ?>
<?php wp_link_pages(); ?>
</div><?php else : ?>
<p>No post found.</p>
<?php endif; ?></div>Can anyone tell me why this is displaying the most recent overall post, not the most recent in the category?
- The topic ‘query_posts question’ is closed to new replies.