WordPress.org

Forums

How to get the name of posting authors to appear on the blog? (4 posts)

  1. hungnguyen84
    Member
    Posted 7 years ago #

    Hi,
    I am building a blog and was wondering how to get the name of posting authors to appear on the blog? Right now I only see the names appear in the comment section, not the most recent post section. Please help.
    Thanks,
    Hung

  2. erikmarcus
    Member
    Posted 7 years ago #

    I'm thinking it's probably your theme. Some themes I've seen default to crediting the author beneath the post's title, which is the behavior you want. It's not the behavior I want, and I remember commenting this out from the theme I'm using.

    Now, are you saying that the author is credited when you click through an entry and see a single blog post on a page? If that's the case, you should go into "Theme Editor" under Design and then click "Single Post" to see the PHP responsible for crediting the author. You'll copy that code and paste it into the appropriate spot of your "Main Index Template."

    I'm still pretty new to WordPress so with any luck somebody will correct me if this advice is mistaken or incomplete.

  3. hungnguyen84
    Member
    Posted 7 years ago #

    Thanks a lot for your help! I will try this and let you know if I can fix this prolbem.
    Hung

  4. inform
    Member
    Posted 7 years ago #

    @ hungnguyen84

    This should display your author:
    <?php the_author(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.