Forums

[resolved] Just upgraded and now author is missing (6 posts)

  1. Gamedot
    Member
    Posted 2 years ago #

    Hi all.

    I've just upgraded to 2.9 and everything seems OK. Except the author of the post is no longer showing. It simply says By and then the date. In 2.9 has how this works changed. I've had a look in the PHP and the line I have is

    By <?php the_author(); ?> on <?php the_time('F jS, Y') ?></p>

    Thanks all

  2. Gamedot
    Member
    Posted 2 years ago #

    Can anyone help with this? Has anyone else seen this happen?

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    that particualr line of code is fine

    I had author disappear on my pages, when I went in to edit the page, I resaved the page and the author showed back up.

    Dunno if that will work for you, sure would be a pain if you had a lot of posts

  4. Gamedot
    Member
    Posted 2 years ago #

    No I've tried that and also have the same issue when creating a new post. Simply doesn't place the author of the post, but strangely does put the date

  5. Gamedot
    Member
    Posted 2 years ago #

    Bump

  6. Gamedot
    Member
    Posted 2 years ago #

    I've been looking at this further and no longer believe it to be a case of the upgrade. I upgraded to the beta and also downgraded back to my original version but still have the same issue. I also put the template and posts onto my blog which uses 2.8 and again the same problem. So at some point something had happened for it to no longer display theauthor of posts. I haven't changed anything except upgrade and add plugins, so I'm totally stumped.

    Out of interest, how does the php code know what the_author is? Where is that declared?

Topic Closed

This topic has been closed to new replies.

About this Topic