!X || !Y doesn't work, !(X || Y) does
-
Was trying to implement !is_page(‘X’) || !is_page(‘Y’) logic but it didn’t work for me. However, !(is_page(‘X’) || is_page(‘Y’)) did the job.
I believe it should work both ways.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘!X || !Y doesn't work, !(X || Y) does’ is closed to new replies.