<?php
//if not sticky display the_time must be in the loop
if ( !is_sticky() ) {
the_time();
}
?>
Related:
Formatting_Date_and_Time
the_time()
Stepping Into Template Tags
Stepping Into Templates
Template Hierarchy
Can you please give us more info on these instructions? Where do you put this code?
Try to use this plugin. You can exclude date coming in various posts and pages.
http://www.dailyblogtips.com/date-exclusion-wordpress-plugin/
Or else another alternative is, you need to edit single.php and index.php
look in your theme’s index.php and see if you find some time related code simular to :
<small><?php the_time('F jS, Y') ?> </small>
put this line in the code MichaelH gave you, like so:
<?php
//if not sticky display the_time must be in the loop
if ( !is_sticky() ) : ?>
<small><?php the_time('F jS, Y') ?> </small>
<?php endif; ?>
Amazing! That worked! Thanks keesiemeijer!
Glad you got it working! Now, please use the dropdown at top right to mark this topic ‘Resolved’.