WordPress.org

Ready to get started?Download WordPress

Forums

Set Link from the_author to author's archive (3 posts)

  1. mamber.m
    Member
    Posted 5 years ago #

    Dear all,

    I am managing multi-authors blog, and would like to set a link from the_author to the author's archive's page, in the way category names are linked to category archives. As far as i know, the_author doesn't do the job automatically. How can I add a link from the author's name to author's archive?

    Thanks all.

  2. will83
    Member
    Posted 5 years ago #

    In the index.php and the single.php files of your theme replace
    <?php the_author() ?>
    by
    <?php the_author_posts_link() ?>

  3. mamber.m
    Member
    Posted 5 years ago #

    > will83

    Thank you for your quick response. I thought I spent a lot of time searching before asking for help... I am embarrassed :(

    I'll try to search harder next time...

Topic Closed

This topic has been closed to new replies.

About this Topic