title: Trouble with || operator
body: <p>I have a page (titled PPC) and a custom post type (titled Presentations) that I don't want certain elements to appear on.  I thought this code would work :</p>
  <pre><code> &lt;?php
        if ((!is_page('PPC')) || (!is_singular('presentations'))) {
        ?&gt;
          &lt;section id=&quot;menu&quot; class=&quot;menu&quot;&gt;
            &lt;div class=&quot;grid grid--justify-center grid-md--justify-end grid--align-middle menu__inner&quot;&gt;
              &lt;nav role=&quot;navigation&quot; class=&quot;menu__nav&quot;&gt;
                &lt;?php
                $nav_classes = 'header__menu header__menu--global';
                include(locate_template('components/component-nav.php', false, false));
                ?&gt;
              &lt;/nav&gt;
            &lt;/div&gt;
          &lt;/section&gt;
  
          &lt;div class=&quot;header__item header__item--hamburger&quot;&gt;
            &lt;button id=&quot;toggleHeaderHamburger&quot; onclick=&quot;toggleHeaderView()&quot; class=&quot;hamburger&quot;&gt;
              &lt;span class=&quot;hamburger__bar&quot;&gt;&lt;/span&gt;
            &lt;/button&gt;
          &lt;/div&gt;
  
        &lt;?php } ?&gt;
  </code></pre>
  <p>Using each conditional by itself, without the ||, works fine.  But when I combine them both and use the logical operator, nothing works.  I've also tried taking the wrapping parentheses out as well, so it looks like this:</p>
  <pre><code>if (!is_page('PPC')) || (!is_singular('presentations')) {
  </code></pre>
  <p>But then I get an error.  What am I doing wrong here?</p>