I wish to exclude the whole "<p class="postmeta"> </p>" section from a certain page. Now, I know how to make it appear on one or more pages, but how do I make it appear on all, but exclude the pages I enter in? I keep
in it, because the empty () puts it on every page...
I was trying to use
inside of it, since I don't want it appearing on page 23, but it didn't work.
Here's the code I'm trying to work with:
Thanks!
PHP:
<?php if (is_page()) { ?>
<?php } ?>
I was trying to use
PHP:
<?php if (is_page(23)) { ?>
//blank space is here, so nothing shows up
<?php } ?>
Here's the code I'm trying to work with:
PHP:
<?php if (is_page()) { ?>
<p class="postmeta">
<a href="<?php comments_link(); ?>" class="comments">Comments (<?php comments_number('0','1','%'); ?>)</a> |
<span class="date"><?php the_time('F jS, Y'); ?></span><?php edit_post_link('Edit', ' | ', ''); ?>
</p>
<?php } ?>
Thanks!