[wp-hackers] Problem with custom title tags

Austin Matzko if.website at gmail.com
Wed Feb 18 20:30:48 GMT 2009

On Wed, Feb 18, 2009 at 2:27 PM, Austin Matzko <if.website at gmail.com> wrote:
> Try wp_get_post_categories(get_the_ID()) to get an array of post IDs.

I meant to say "to get an array of category IDs", something like the following:

if ( is_single() && have_posts() ) : the_post(); $cats =
wp_get_post_categories(get_the_ID()); etc.

More information about the wp-hackers mailing list