The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. graceunfolding
    Posted 7 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
    Posted 7 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
    Posted 7 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