[wp-hackers] check category template

Ozh ozh at planetozh.com
Thu Jan 17 11:34:34 GMT 2008

On Jan 16, 2008 11:59 PM, Mindshare Studios <info at mindsharestudios.com> wrote:
> 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?

something like: in_category && !is_category ?

http://FrenchFragFactory.net ~ Daily Quake News
http://planetOzh.com ~ Blog and WordPress Stuff

More information about the wp-hackers mailing list