[wp-hackers] need help with loop code
if.website at gmail.com
Tue Feb 10 17:58:23 GMT 2009
On Tue, Feb 10, 2009 at 11:54 AM, Jen Simmons <jensimmons at gmail.com> wrote:
> In other words, I need the code to read:
> If you have only one category, and that category is #6, then jump ahead and
> don't do this stuff,
> do do this stuff (printing stuff).
Use wp_get_post_categories(get_the_ID()) to get an array of the
categories for the current post.
More information about the wp-hackers