[wp-hackers] get list of items in a category

Brian Fidler fidler.brian at gmail.com
Wed Nov 5 04:51:24 GMT 2008


This is a simple one but I'm pretty new to WP. I've set up a News category
and have created a special page template for news items. I want to display a
list of items in the News category, ordered by most recent date first. What
WP function would I use? I'm currently using <?php get_the_category('News');
?> but it's not returning anything.

thanks.


More information about the wp-hackers mailing list