[wp-hackers] check category template

Mindshare Studios info at mindsharestudios.com
Wed Jan 16 22:59:04 GMT 2008


The template function in_category('x') will return true even if you are
viewing the category page itself (not a post within it). Is there a way to
determine if you are looking at post within a category or the category
listing itself?

Thanks,
Damian 
Mindshare Studios, Inc.




More information about the wp-hackers mailing list