I am trying to keep a widget from showing up on any blog-related page, but to appear on all pages except for two. The code I have is
!is_page( array( 'portfolio', 'branding' ) ) || !is_single() || !is_home()
I have also tried
is_page() && !is_page( array( 'portfolio', 'branding' ) )
I can get any of the conditional tags to work by themselves, but do not seem to be able add others with operators.