Look in the default theme’s index.php file for the proper template tag:
<code><?php the_author() ?></code>
and a good place to put it.
Display Author’s ‘Public’ Name
Displays the value in the user’s Display name publicly as field.
<p>This post was written by <?php the_author(); ?></p>
Get Author link
<p>Written by: <?php echo get_the_author_link(); ?></p>
The Author’s Post
<p><?php the_author(); ?> has blogged <?php the_author_posts(); ?></pre> </div> <pre>posts</p>
The Author’s Post Link
<p>Other posts by <?php the_author_posts_link(); ?></p>
for more info check below URL
http://codex.wordpress.org/Template_Tags/the_author
Leave a Reply