How to hide date and time on pages only (not posts)
-
I’d like the pages on my website to appear more like regular static pages — so I’d like to hide the time and date stamp on them (the “posted by” and “comments are closed,” too–but one thing at a time). I’m using the Panaroma theme and in the page.php file it says:
<div class=”authormeta”>
<?php _e(‘By’,’panorama’); ?> <?php the_author_posts_link(); ?>, <?php the_date($ap_dateTimeFormat); ?></div>
Is there anyway to edit this so that it knows to only show the time/date on posts and not static pages?
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘How to hide date and time on pages only (not posts)’ is closed to new replies.