WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Author tag works only on home page (3 posts)

  1. graceunfolding
    Member
    Posted 5 years ago #

    I am using 2.7 and just added <?php the_author_posts_link(); ?> to my loop in index.php

    The author name shows up on the home page but it doesn't show once you click on "Read the rest of this entry", or in the archives or Categories or any of the Tag Cloud links.

    In the past I used this tag or similar on another blog and the author showed up on all the pages. I just don't know what I did differently.

    Any ideas?

    thanks :-)

    oh yea... the site is http://www.graceunfolding.com

  2. curtismchale
    Member
    Posted 5 years ago #

    You need to add this to a few other pages like single.php, archive.php, and archives.php at least. when you click to read a post specifically it is generated from single.php not index.php. Archives and tag clouds are generated from the other two.

  3. graceunfolding
    Member
    Posted 5 years ago #

    Thanks very much.

    Here are the files I edited.

    archive.php, index.php, single.php, search.php

    Looks like I got it covered.

    thanks again :-)

Topic Closed

This topic has been closed to new replies.

About this Topic