timestamp IN the post
-
Small, though interesting, problem. I am used to have the timestamp following each of my posts. (
https://www.carnetsdetoile.ca/wp
) Now, if I need an update to any post, I want it to follow the timestamp, so that it features a time that is chronologically latter than the one of the post. The code in the index.php looks like this:
<div class="post">
<?php the_date(("l d F Y"),'<h3>','</h3>');?>
<div class="storycontent">
<?php the_content(); ?>
<h3 class="storytitle" id="post-<?php the_ID(); ?>">" rel="bookmark" title="lien permanent: <?php the_time() ?>"> <?php the_time("\\(H\\hi\\)");?> </h3>
</div>
</div>
<?php endforeach; else: ?>
<?php _e('D??sol??s, aucune donn??e ne correspond ?? votre requ?ate.'); ?>
<?php endif; ?>
</div>
Now, how can I do that if thephp the_time
is the last thing in the loop?
JP
- The topic ‘timestamp IN the post’ is closed to new replies.