Re: Put PHP together
Do you want to echo the $page if ANY of them are true? So, an OR statement?
<?php if ($page>1 && (is_front() || is_topic() || is_forum())) echo " page $page"; ?>
That should do it, unless I misunderstood your problem.
Do you want to echo the $page if ANY of them are true? So, an OR statement?
<?php if ($page>1 && (is_front() || is_topic() || is_forum())) echo " page $page"; ?>
That should do it, unless I misunderstood your problem.