Conditional category check

We have a lot of different post types at MAKE, and I get PHP errors on those pages. This diff eliminates those with a little different handling of the conditionals.

This is what I have deployed FYI.