[wp-hackers] get list of items in a category
fidler.brian at gmail.com
Wed Nov 5 05:53:05 GMT 2008
Thanks. I'm putting the PHP directly into my page_news template. I'm just
trying to use Wordpress's existing conventions. Any help would be great.
On Tue, Nov 4, 2008 at 10:42 PM, DEVCES <devces at gmail.com> wrote:
> There is a plugin that allows you to execute a php script in a post / page
> worked for me.
> On Tue, Nov 4, 2008 at 11:51 PM, Brian Fidler <fidler.brian at gmail.com
> > This is a simple one but I'm pretty new to WP. I've set up a News
> > and have created a special page template for news items. I want to
> > a
> > list of items in the News category, ordered by most recent date first.
> > WP function would I use? I'm currently using <?php
> > get_the_category('News');
> > ?> but it's not returning anything.
> > thanks.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers