[wp-hackers] Re: check category template
cpoteet at siolon.com
Thu Jan 17 16:32:24 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?
That sounds like appropriate behavior. If you're viewing the page
that has the category that should return true don't you think?
More information about the wp-hackers