Wordpress - Want to display ALL categories with last 10 posts under each category
Written By Majorchamp on Oct. 13, 2006.
9 Comments
Report Note
+ Clip This
I am wanting to display ALL the categories on a page (homepage), and underneath each category the last 10 postings for that category.
On top of that, I want the 11th spot to be like a "more" link that will take you to the specific category in question.
Is there a plugin, at least for showing the last 10 postings PER category that I can use?
Thanks

Scrivs
Written Oct. 13, 2006 / Report /
I'd be curious to see if there is one as well.
Majorchamp
Written Oct. 13, 2006 / Report /
I did find a temporary bandaid
Wordpress Plugin Posts
My solution, though, was to hardcode each individual category (in the event they actually don't change), and just copy the appropriate PHP code with the cooresponding categoryID. So yea, if I have 20 categories, I have to have 20 PHP calls (I am not a PHP programmer, so that is how I am doing it :) )
isdereks
Written Oct. 14, 2006 / Report /
^ That's what was floating around the top of my head.
Narada
Written Oct. 15, 2006 / Report /
Hi. I wrote the Posts for category plugin linked to in the comments. It is quite easy to do what you describe above. If you haven't already found a solution I can write a plugin for you to do this if you would like. Just let me know. With regards.
Majorchamp
Written Oct. 15, 2006 / Report /
Absolutely. That would be awesome!
frotzed
Written Oct. 15, 2006 / Report /
You don't need a plugin, the standard WordPress "<a href="http://codex.wordpress.org/Template_Tags/get_posts
">get_posts" tag has all that functionality built right in. The only thing you'll have to do is hard code a link after the list of posts that will link to the archive page for that category you're displaying. http://blogname.com/category/CAT NAME HERE
Of course, I may be misunderstanding your question.
frotzed
Written Oct. 15, 2006 / Report /
I mistyped that link. http://codex.wordpress.org/Template_Tags/get_posts
frotzed
Written Oct. 15, 2006 / Report /
Upon re reading your question I may have misunderstood you. Sorry if I stated the obvious.
Majorchamp
Written Oct. 15, 2006 / Report /
Actually frotzed, that "might" work with what I am asking, but it would be cool if it automated the process so nothing in the link had to be hardcoded besides the link to view "all" postings for a particular category.