If you are running a website with a demand of a large number of posts, you may have recruited multiple authors to achieve that goal together. For all authors differing in personality and writing style, readers are likely to be interested in a certain author who has taken their fancy and then wish to know more information about he/she. That is why you need to create some pages that include the author’s introduction.
And even if that were not so, all posts are come out by yourself. You may need to add an author page to your website and that should include a wonderful self-introduction. To be honest, it’s a great method to let more people get to know you as well as your website. Maybe now, you cannot wait to create a WordPress author page and wish to acquire an effective way to do this. The following tips and steps are made for you.
What Should Be Included in an Author Page?
The purpose of an author page is to show who the author is and the specific information about he/she. To this end, a quality author page should include author photo, self-introduction, contact information, the links to social media profiles, etc.
You need to place an author photo boldly, which should be clear and give full expression to the author’s appearance. Note that, no selfie is allowed here for which looks unprofessional.
An awesome self-introduction is essential to this author page and that should include your real name/nickname, graduate institution, personality, hobby and the most professional skills. Keep in mind that you’d better adopt your good points and avoid the shortcomings.
If you enjoy communicating with your readers and wish to know more about their preference, you can leave some contact information on the author page, such as phone number, email or address.
Since most people in the world tend to indulge in social networking, like Google+, Twitter and Facebook, showing the links to your social media profiles is a wise choice. If visitors care a hang about you, they would like to go to your social media profiles to get more information.
Here, we would like to show you an example as below. It simply shows the author’s photo and self-introduction. To make such an ordinary author page, you just need to follow the guide as below.
Create a WordPress Author Page with Authors Page Plugin
For some webmasters lacking knowledge on coding, WordPress has deployed multiple plugins for author page creation and customization, like Authors Page, Co-Authors Plus, Sexy Author Bio, etc. Those plugins are used to showcase author bio properly, generate an authors list on web page, add link to a certain author page, and so on so forth.
What you need to do is to install & activate one of them via your WordPress Dashboard and then set up all settings to make full use of it. Here, we take Authors Page as an example.
After installing and activating this plugin, you should go to your WordPress Dashboard > Pages > All Pages and then turn to the page called “Authors Page”. Click Edit.
You are allowed to rename the page title if needed and enter the author page content in the blank. And then, upload an author photo to the Media and click “Set featured image” to include it in your author page. Click Update button to confirm all changes. Note that, there is no need to add this page to the menu bar, because it has been included automatically.
If you have learned something about coding stuff, then you can refer to the second method as below, which enables more possibilities on WordPress author page creation.
Create a WordPress Author Page with Coding Stuff
Before everything, you have to make sure whether the active theme includes author.php. To do this, you are required to go to your WordPress Dashboard and then go to Appearance > Editor to check if there is a file named as Author Template (author.php), like the following example.
If not, you are required to go to the root directory where you have installed WordPress and find out the themes file. For instance, we install WordPress via cPanel. And now, we need to go to cPanel > Files > File Manager and then go to the /wp-content/themes. Open the archive.php included in the active theme and copy all content. Create a new file named as author.php and then paste the copied codes in it.
In addition, you are also required to copy and paste the following code in the newly created author.php file.
<?php get_header(); ?> <div id="content"> <!– Set $currentAuthor variable –> <?php if(isset($_GET['author_name'])) : $currentAuthor = get_userdatabylogin($author_name); else : $currentAuthor = get_userdata(intval($author)); endif; ?> <h2>About: <?php echo $currentAuthor->nickname; ?></h2> <dl> <dt>Site</dt> <dd><a href="<?php echo $currentAuthor->user_url; ?>"><?php echo $currentAuthor->user_url; ?></a></dd> <dt>Profile</dt> <dd><?php echo $currentAuthor->user_description; ?></dd> </dl> <h2>Posted by <?php echo $currentAuthor->nickname; ?>:</h2> <ul> <!– The Loop –> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <li> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"> <?php the_title(); ?></a>, <?php the_time('d M Y'); ?> in <?php the_category(', ');?> </li> <?php endwhile; else: ?> <p><?php _e('No post written by this author'); ?></p> <?php endif; ?> <!– End Loop –> </ul> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
To take the easy way out, we suggest you to go with a WordPress theme featuring author.php, such as Twenty Fourteen, Customizr, Point, and so on, with which you can leave out the above-mentioned steps for creating author.php file.
Besides, if you wish to enable more functions for the author page, you need to adjust the file by complying with the following steps.
The best way to help visitors know the author is to make the post come with a link that is linked to the corresponding author page. In this way, if people are drown into this post and wish to know more about the author, they are able to go to the author page by clicking a given link included in author box as the following screenshot.
To make it come true, you need to add the following coding stuff to author.php.
<p>Posted by: <?php the_author_posts_link(); ?></p>
Besides, if there are multiple authors serving your website and you wish to display all authors on one page, then you are required to go with the following codes. In this case, the authors are listed in the sidebar and each come with a link to his/her own author page.
<h2>Authors:</h2> <ul> <?php wp_list_authors(); ?> </ul>
To set up author information, you are required to use the coding stuff shown as below, which helps you set the basic information about this author.
<?php $currentAuthor = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?>
In fact, WordPress developers have sorted out a list of codes to customize WordPress author page and show you the detailed information in Author Templates. You can select the useful coding stuff from the give options and add it to the author.php file properly. In this way, a unique and fascinating author page is ready to come out.