<meta charset="utf-8"><span class="Apple-style-span" style="font-family: &#39;Bitstream Vera Sans&#39;, Verdana, Helvetica; font-size: 13px; color: rgb(0, 49, 80); line-height: 17px; "><p style="margin-top: 1.2em; margin-bottom: 1em; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">

Hi I am trying to test for arg(1) OR is_front however when I set this up neither seem to work but if I do them separately they work fine. I assume it&#39;s just my syntax but I&#39;m honestly not sure. Any help would be great.</p>

<p style="margin-top: 1.2em; margin-bottom: 1em; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Here is what I have:<br></p><div class="codeblock" style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(127, 152, 167); border-right-color: rgb(127, 152, 167); border-bottom-color: rgb(127, 152, 167); border-left-color: rgb(127, 152, 167); background-color: rgb(237, 241, 243); line-height: 1.2em; ">

<code style="padding-top: 1px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; font-size: 0.9em; font-family: &#39;Bitstream Vera Sans Mono&#39;, Monaco, &#39;Lucida Console&#39;, monospace; background-color: transparent; "><span style="color: rgb(0, 0, 0); "><span style="color: rgb(0, 0, 187); ">&lt;?php </span><span style="color: rgb(0, 119, 0); ">if (</span><span style="color: rgb(0, 0, 187); ">arg</span><span style="color: rgb(0, 119, 0); ">(</span><span style="color: rgb(0, 0, 187); ">1</span><span style="color: rgb(0, 119, 0); ">) != </span><span style="color: rgb(221, 0, 0); ">&quot;27&quot;</span><span style="color: rgb(0, 119, 0); ">) || (!</span><span style="color: rgb(0, 0, 187); ">$is_front</span><span style="color: rgb(0, 119, 0); ">): </span><span style="color: rgb(0, 0, 187); ">?&gt;</span></span></code></div>

<p style="margin-top: 1.2em; margin-bottom: 1em; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "></p><p style="margin-top: 1.2em; margin-bottom: 1em; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">

I also tried this as well but to no avail.<br></p><div class="codeblock" style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(127, 152, 167); border-right-color: rgb(127, 152, 167); border-bottom-color: rgb(127, 152, 167); border-left-color: rgb(127, 152, 167); background-color: rgb(237, 241, 243); line-height: 1.2em; ">

<code style="padding-top: 1px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; font-size: 0.9em; font-family: &#39;Bitstream Vera Sans Mono&#39;, Monaco, &#39;Lucida Console&#39;, monospace; background-color: transparent; "><span style="color: rgb(0, 0, 0); "><span style="color: rgb(0, 0, 187); ">&lt;?php </span><span style="color: rgb(0, 119, 0); ">if (</span><span style="color: rgb(0, 0, 187); ">arg</span><span style="color: rgb(0, 119, 0); ">(</span><span style="color: rgb(0, 0, 187); ">1</span><span style="color: rgb(0, 119, 0); ">) != </span><span style="color: rgb(221, 0, 0); ">&quot;27&quot; </span><span style="color: rgb(0, 119, 0); ">|| </span><span style="color: rgb(0, 0, 187); ">arg</span><span style="color: rgb(0, 119, 0); ">(</span><span style="color: rgb(0, 0, 187); ">1</span><span style="color: rgb(0, 119, 0); ">) != </span><span style="color: rgb(221, 0, 0); ">&quot;27&quot;</span><span style="color: rgb(0, 119, 0); ">): </span><span style="color: rgb(0, 0, 187); ">?&gt;</span></span></code></div>

</span>