Support » Fixing WordPress » Display Who Posted?

  • Hi, we’ve setup a lot of authors for a blog and would like for the name of user posting a post to be displayed on their post (EX: “posted by John Billoway at 11:12AM”). Is there anyway to have WordPress do this?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • In the classic theme:


    <div class="meta">
    <?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?>
    </div>

    <?php the_author()?> is the bit you want.

    Yes, you just have tell us:
    what theme? – even better give us a link.
    Also, I hope you’ve searched as it is advised next to the posting area…

    For the future, just remember the Codex (the online manual) is your best friend:
    http://codex.wordpress.org/Template_Tags

    I got it figured out. I thought there was just a checkbox somewhere that would add the poster’s name. Didn’t know I would have to dig around in the code- it was fun though.

    For posterity’s sake: I was using the default theme, and I just went into Presentation>Theme Editor, clicked on Main Index File and found the php code that displays the date of the post. Next to it the author’s name was commented out, so I just had to uncomment it and save the changes.

    Thank you for posting back your solution. Happy blogging!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Who Posted?’ is closed to new replies.