• Is there a plugin that will show the author of a post. My site has multiple authors and I want to display the who is the author.

    Rob

Viewing 3 replies - 1 through 3 (of 3 total)
  • There isn’t but it’s built-in. Normal themes (i.e. not the default) display the authors’ names.

    Template_Tags#Author_tags

    You don’t really need a plugin for that but rather use the template tag, the_author to display that information for each post.

    The WordPress Default theme has an example of the_author in the wp-content/themes/default/index.php but the code is ‘commented-out’ so it doesn’t execute. So if you wanted to display the author info with the WordPress Default theme you would change the line in wp-content/theme/default/index.php
    from:
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    to
    <small><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small>

    And then how do I link to all the posts this author has written for the blog?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Author of a New Topic’ is closed to new replies.