Forums

Author of a New Topic (4 posts)

  1. RobM16
    Member
    Posted 3 years ago #

    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

  2. moshu
    Member
    Posted 3 years ago #

    There isn't but it's built-in. Normal themes (i.e. not the default) display the authors' names.

    Template_Tags#Author_tags

  3. MichaelH
    Volunteer
    Posted 3 years ago #

    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>

  4. kooi2000
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.