I have the following error with my php code..
Parse error: syntax error, unexpected T_BOOLEAN_OR in...
My code is…
<?php if( !is_home()) or ( !is_archive()) { ?>
(my code is here)
<?php ?>
The error is on the first line. I have tried googling this, but cannot see what I have done wrong.
Can you spot anything wrong with the above code?
Thanks in advance
Try with: