WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post author not shown (6 posts)

  1. AndrewChapman
    Member
    Posted 7 years ago #

    Just started using WordPress. http://www.theriveroflife.com Why doesn't it display who the author of the post is? It used to say posted by admin. Then I updated my profile in Users/Your profile. Now in the drop-down box under 'Display name publicly as:' it reads 'Andrew Chapman'. I thought it would now display 'posted by Andrew Chapman', but it doesn't.

    Thanks for your help.

  2. JeremyVisser
    Member
    Posted 7 years ago #

    It appears to be working fine. In the HTML source, I see the following code: <small>September 15th, 2006 <!-- by Andrew Chapman --></small>

    If you edit the theme file which contains that code (I can't name the exact file in question, but it's located in /wp-content/themes/default/) and remove the <!-- and -->, you will see the name appear.

    Do you run WP-Cache? If so, that can cache changes you have made to the blog and make it appear as if nothing happened. For more inform ation, see http://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens

  3. spencerp
    Member
    Posted 7 years ago #

    In the: index.php file, find this code:
    <!-- by <?php the_author() ?> -->

    Make like this:
    <?php the_author() ?>

    spencerp

  4. AndrewChapman
    Member
    Posted 7 years ago #

    Hi, that's great, thanks. Would you mind telling me how to put about three blank spaces between the date and the author? Thanks, Andrew

  5. spencerp
    Member
    Posted 7 years ago #

    If you want, take a look at my blog, from my username here. I have the date and author name right under the post title. If you like that, I can give you the codes for it. ;)

    It takes a little CSS styling ya know! =)

    spencerp

  6. AndrewChapman
    Member
    Posted 7 years ago #

    You've probably got the f word in your code! But thanks for the offer. 'Please don't be angry if I ask one more thing' (Genesis 18 v 32), how would I put the author at the end of the post, which is where it originally said 'posted by admin'? Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags