Conditional checks for multiple custom post types