Support » Fixing WordPress » Set Link from the_author to author’s archive

  • mamber.m

    (@mamberm)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • will83

    (@will83)

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

    mamber.m

    (@mamberm)

    > 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…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Set Link from the_author to author’s archive’ is closed to new replies.