How do I add a posted by (user) and time stamp on my blog posts?
I plan on having multiple accounts for friends to post, and would like to have this enabled so that viewers can see who is creating the post.
Thanks,
Shio
How do I add a posted by (user) and time stamp on my blog posts?
I plan on having multiple accounts for friends to post, and would like to have this enabled so that viewers can see who is creating the post.
Thanks,
Shio
Take a look at the WordPress Default 1.6 theme's index.php file. It has this this line of code which causes the time of the post to be displayed but has the name of the author commented out:
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
So the code can be changed so that both the time and the author display:
<small><?php the_time('F jS, Y'); ?> by <?php the_author(); ?> </small>
Cheers guys, thanks alot!
This topic has been closed to new replies.