• Im trying to figure out how to use the if page array combined WITH the if tree condition.

    Alone they work perfectly well. But together.. no clue how to get them to work.

    Here’s what ive managed sofar:

    <?php if (is_page(array(665,684,687))) || ( is_tree(489)) : ?>
    
    // do nothing
    
    <?php else : ?>
    
    <div class="twelvecol headerimage">
        <?php echo do_shortcode('[uds-billboard name="billboard"]');?>
    </div>
    
    <?php endif; ?>

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘combining PHP statements’ is closed to new replies.