Wednesday, 28 August 2013

PHP Logical operators

PHP Logical operators

I have a really weird syntax issue. Can somebody tell me why this isn't
working:
if ( ! is_single() || ! is_archive() )
but this is: if ( ! is_single() || is_archive() )
and how I could get the first statement to work? Thanks in advance!

No comments:

Post a Comment