How to Add the Author Byline to Blog Posts in the SmallBiz Theme

by on March 18, 2013 · 7 comments

Author byline in WordPress | SmallBiz ThemeThe SmallBiz theme does not list the blog post Author by default, but you can easily add a little code to make the Author line appear on every blog post and in the main blog roll page.

There are two places in which you can add this byline:

  • Posts.php (this is the main blog roll page)
  • Single.php (this is each individual post)

To begin, take this piece of code from WordPress.org:

 <p>Written by: <?php the_author_link(); ?></p>

Go into your WordPress Dashboard ->Appearance ->Editor

Look for either Posts.php or Single.php

Once there you want to past the code just after the string that shows the date.  If you want it to appear next to the date (see image below) then put it before the <p>.

Adding the Author Tag to WordPress Blogs

Repeat the process for Single.php.

Next go to your Users section in the WordPress Dashboard.

In your Profile look for the place to add your website, here you may insert the url of where you want the byline (author link) to go (in my case I wanted to be linked to my About Page, but you can use your homepage) – just don’t leave it blank!

Want a step by step? This video will walk you through the process.

If you have questions feel free to shout out in the comments.

 

Article by »

Eileen Lonergan is a WordPress website designer with a focus on SEO. To learn more about Eileen and see her work visit http://www.EileenLonergan.com

Eileen has written 14 articles on Expand2Web

Author Connect » Twitter | |

See my disclosure about advertising and affiliate links

{ 7 comments… read them below or add one }

Laura March 18, 2013 at 10:49 am

Nice Eileen! I just set this up via your video. I did have to make you full screen so I could see exactly where to put the code (did not want to do any guessing there). : ) Thank you!

Reply

eileen lonergan March 18, 2013 at 10:51 am

Sorry about that Laura – I need to go back to Don’s post on screen casting, I am not the best. Thanks for your patience!

Reply

Don Campbell March 24, 2013 at 4:33 pm

Thanks for doing this video Eileen. It made me realize we should have this as an option in the SmallBiz options panel!

Reply

Luiz July 28, 2013 at 12:10 pm

Thank you for posting these instructions Eileen.

Reply

DJ December 19, 2013 at 11:55 am

Helpful info on adding the author’s code in blog posts.
Thank you!

Reply

Danny Hall January 23, 2014 at 10:17 am

Great post Eileen. I have referred many clients to it of late as its precise and clear (and it saves me repeating myself) . Keep up the good work.

Reply

Abhishek March 20, 2014 at 2:43 am

Hi sir

Can you please tell me “How to set byline in blogger blog?”

Thanks

Reply

Cancel reply

Leave a Comment

Previous post:

Next post: