-
SitePoint Enthusiast
Wordpress 2.5 Plugin - Display Post for Specifc Category
On my blog, i have the titles of my posts listed on the homepage by using the following code:
<?php get_archives('postbypost', 10); ?>
But we'd like to split up the displaying of post titles by categories. Maybe just list the most recent 3 or 5 posts by that category.
I tried using the following on the home.php template and it doesn't work:
<?php query_posts('cat=1'); ?>
<?php query_posts('cat=3'); ?>
I know
<?php wp_list_categories('sort_column=name&title_li='); ?>
<?php wp_list_cats('sort_column=name'); ?>
only list the Category Titles.
But I need the Post Titles to display for a Specific Category. Still searching for an answer.
What steps am I missing?
---- Or is there a simple Wordpress 2.5 plugin that allows me to do this? ----
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks