Excluding Content
-
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!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Excluding Content’ is closed to new replies.