If you are setting up a WordPress blog to work with a variety of authors, it is probably a good idea to also set up the author display to actually be a link to the bloggers website.

For whatever reason, many themes are created to simply display the author’s name using text by default instead of converting it to a link to the author’s website. Fortunately, this is an easy change to make with a minimal amount of coding adjustments required.

Here is what you need to do. When editing your theme, you’ll want to look for the following code:

<?php the_author() ?>

Remove that code and replace it with the following:

<?php the_author_link(); ?>

Now test it out! It will automatically display a link to the author’s site, as specified in the users profile.

Digg This! | Stumble it! | Add to Del.icio.us | | Print This! |

There Are 2 Responses So Far. »



Leave A Comment