HowTo display Author info in WordPress Single Post

If you view a single post of a blog, you will see the author information at the bottom. Here we will see that how we can display such author info in a WordPress blog. That info can be edited in the control panel under Users->Your Profile.

The author’s photo can also display the image using avatars:

<img src="<?php echo get_option('home'); ?>/wp-content/themes/mimbo2/images/<?php the_author_lastname(); ?>.jpg" alt="" />

The author’s name is called like this:

<?php the_author_posts_link('namefl'); ?>

The author’s bio is called like this:

<?php the_author_description(); ?>

The author’s email is called like this:

<a href="mailto:<?php the_author_email(); ?>" title="Email this author">Email this author</a>

That seems like a pretty good start for building your own template themes. Now it’s up to the client to hire some talented writers and hope for the best.


8 thoughts on “HowTo display Author info in WordPress Single Post”

  1. how are you!This was a really excellent theme!

    I come from itlay, I was luck to approach your subject in baidu

    Also I obtain a lot in your subject really thanks very much i will come later

  2. Took me time to review all the comments, but I definitely enjoyed the article. It proved to be Entirely benevolent to me and I am unwavering to all the commenters here! It's in perpetuity attractive when you can not exclusive be informed, but also entertained! I'm certain you had fun journalism op-ed article this article.

Comments are closed.