post filtering/selection.
-
After searching trough the forum and the various questions/answers i thought this would help me w/my post selection issue.
<ul> <?php query_posts('cat=seasonal&showposts=5'); ?> <?php while (have_posts()) : the_post(); ?> <li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul>
I have two, out of six posts with a category of “seasonal” however the code above…that should work. Doesn’t. it brings in all the posts.
What am I doing wrong please?
Thank you
D
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘post filtering/selection.’ is closed to new replies.