Quantcast
Channel: Total Bounty » gravatar
Viewing all articles
Browse latest Browse all 2

How to Create Additional Authors in WordPress

$
0
0

Many WordPress websites have more than one author for blog posts or for maintaining pages.  You can easily create individual profile for each user and limit their access with a role. This not only offer a chance for each author to showcase their talent and track which of them do well but also a way for readers to keep track of their favorite writer/s on a blog.  It’s also an easy way to assign website editing and maintenance to additional personnel within a company (and not grant them full admin access).

WordPress gives you the ability to create as many user accounts as you want (or need). If you still haven’t done that, you can head on to your site’s dashboard admin panel, click Users, then select Add New. You will need to fill out a form that will require you to choose your username and password, and input the proper e-mail address. You may also choose to input the user’s first and last name. although these are optional.

WordPress Create additional author

If you are filling this out for the user, you have the option to send the login details including password to his or her e-mail. For the Role, may want to select Author or Contributor depending on the role he will fulfill in the team. If he or she is part of the organization, the Administrator is most appropriate. Now, you should be ready to display the gravatar for the author in each of your posts.

WordPress Create New Author setup

Your theme might do this automatically – but if you want to add it yourself you will only need a small code snippet in order to make this happen.  We assume that at this point, the author already registered their email address with gravatar.

To start, you may either open index.php or single.php in your theme if you’re tech savvy. Add the following code:

<?php echo get_avatar( get_the_author_email(), ’48′ ); ?>

What this code does is that it will try to “fetch” the gravatar icon associated with the e-mail registered for it and display it in your chosen location. You control the location where the gravatar will show up as you paste it in either of the file above. You can also choose to change the size of the gravatar to suit your site’s format or design by changing the number value “48” in the code.

Try it for yourself. Tell us what you think and leave your comment if you a have a better way of doing it. We’d be glad to know. Cheers!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images