Place this code anywhere you would like the time to show in your single.php and index.php template files.
<?php the_time() ?>
Sweet man thanks. Weird that it’s not implemented.
Ok now how do you get the author in there?
Right now the code is this.
<small><?php the_time(‘F jS, Y’) ?> <?php the_time() ?><!– by <?php the_author() ?> –></small>
But why doesnt the author show up?
This code should do the trick, just overwrite your old code with the following:
<small><?php the_time(‘F jS, Y’) ?> <?php the_time() ?> by <?php the_author() ?> </small>
oh I see, the author code was commented out. Thanks man.
Why arent there options to turn these on in the admin panel?
Because you can further specify how the time should be shown (24h/12h, seconds/no seconds etc) – there would be to many settings for these things, and templatemakers wouldnt have the freedom to define these things in their themes.