Or operators in PHP
<p>can anyone advise what i'm doing wrong here?</p>

<p>I'm trying to load a jQuery function IF the page isn't using a template OR if it's not a single OR if it's not an archive.</p>

<p>I have the below...</p>

<pre><code>&lt;?php if ( ! is_page_template('modelPages.php') || ! is_archive() || ! is_single ) { ?&gt;
</code></pre>

<p>But it doesn't seem to work... HOWEVER if I remove the or operators and subsequent rules, the function doesn't load (which is correct) on the modelPage.php templates.</p>

<p>How should i be writing this rule?</p>

<p>Thanks</p>
