I am trying to exclude content on 4 pages that I have, but keep it on all the rest. I was trying to use a conditional clause, but I’m not sure how to exclude some pages. I tried the code below, but it left only the header. Does anyone have any ideas?
<?php if ( is_page(&exclude=8,9,10,11) ) : ?>
<?php endif; ?>
Thanks in advance!
- The topic ‘Excluding Content’ is closed to new replies.