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

Otto otto at ottodestruct.com
Thu Nov 6 19:31:07 GMT 2008


On Tue, Nov 4, 2008 at 10:51 PM, Brian Fidler <fidler.brian at gmail.com> wrote:
> 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.

We see this a lot on the forums, and the invariable question is: why
do you want to use a Page for this?

Why not just go to /category/news? If you want to style it special,
then you can make a simple category-5.php file for the category
template instead.

Using a Page to display Posts is almost always a bad idea.

-Otto


More information about the wp-hackers mailing list