How to display the author name and link on the post page in wordpress

The theme on one of my other blogs did not display the author name and link on the post page. It would only display it on the main blog page. To fix this I edited the single post php file (single.php) and added the following piece of code.

Posted on <?php the_time('l, F jS, Y') ?> by <?php the_author_link() ?>

 

2 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment