WordPress.org

Support

Support » How-To and Troubleshooting » How to get the name of posting authors to appear on the blog?

How to get the name of posting authors to appear on the blog?

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

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

    @ hungnguyen84

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to get the name of posting authors to appear on the blog?’ is closed to new replies.
Skip to toolbar