Jump to content

Add an About the Author to Your WordPress Theme


Bruceleeon
 Share

Recommended Posts

There is a lot of functionality that a plugin can add to your WordPress configuration, but for some reason I can’t feel comfortable relying simply on plugins for everything.  When something simple comes along that can be done without a plugin, I would much rather go that route.  With that said, I had been looking for an easy way to add some information about the author to display on every article.  It turns out that this is VERY easy to do and DOES NOT require any plugins to accomplish.  This solution uses some WordPress hooks…To start, there are two files that you will need to edit, single.php and style.css. In your single.php simply find the area you would like to display your “About the author” information and paste the following. <!-- Start About the Author --> <div id="author-info"> <div id="author-image"> <a href="<?php the_author_meta('user_url'); ?>"><?php echo get_avatar( get_the_author_meta('user_email'), '90', '' ); Read More...fkfz6vK7W7I

View the full article

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...