How to display Author info in Wordpress Single Post

by Deepanshu | Add comments

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 avtars:

<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.

Tags: Blogging, Tutorials

One Response to “How to display Author info in Wordpress Single Post”

  1. beiseassaus (Who am I?) Says:

    I like your URL - goelji.com

    Proud to tell you, the URL100% freefresh web site. Make a note merchant service for complicated cases http://www.yourmerchant.org is there for free.

    Rate this:
    2.5

Add a Comment

required, use real name
required, will not be published
optional, your blog address

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Related Articles:



Main Blog | Report Abuse
Create Your FREE Blog | Log in