I am having a problem using the OR operator in php
<?php if (!is_single() || (!is_page())) {
echo "<a href=\"";
the_permalink();
echo "\">";
}
the_title();
if (!is_single()) {
echo "</a>";
}
?>
PHP simply ignores the statement...
Would it be easier just to remove the permalink from the page.php?
In this case, I'm trying to write my whole template using only index.php for the body content.
Ah, I see my logical error now. Returning a false to the !is_page will negate the !is_single... Thinking is hard. :(
sometimes we think to hard, glad that you found the solution :)