Title: [Plugin: Advanced Most Recent Posts] Displaying Author?
Last modified: August 19, 2016

---

# [Plugin: Advanced Most Recent Posts] Displaying Author?

 *  [dave86](https://wordpress.org/support/users/dave86/)
 * (@dave86)
 * [16 years ago](https://wordpress.org/support/topic/plugin-advanced-most-recent-posts-displaying-author/)
 * I have a multi author blog on my website. How could I display the author at the
   end of the post title? I have tried a few things using the `<?php the_author();?
   >` , but it doesn’t seem to have worked. Any ideas?
 * [http://wordpress.org/extend/plugins/advanced-most-recent-posts/](http://wordpress.org/extend/plugins/advanced-most-recent-posts/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Kailey (trepmal)](https://wordpress.org/support/users/trepmal/)
 * (@trepmal)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-advanced-most-recent-posts-displaying-author/#post-1534957)
 * try editing line 198 like this:
    `$excerpt = ': ' . $excerpt . ' ' . get_the_author();`
 *  [Giorgos Sarigiannidis](https://wordpress.org/support/users/gsarig/)
 * (@gsarig)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-advanced-most-recent-posts-displaying-author/#post-1534969)
 * what if I wanted to get the publication date (and time) of each post? Would it
   be something similar?
 *  [Kailey (trepmal)](https://wordpress.org/support/users/trepmal/)
 * (@trepmal)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-most-recent-posts-displaying-author/#post-1534972)
 * Yup, you can try something like this, just edit it as needed:
 *     ```
       $time = date('m/d/y',strtotime($post->post_date));
       $excerpt = ' (' . $time . '): ' . $excerpt;
       ```
   
 *  [evo252](https://wordpress.org/support/users/evo252/)
 * (@evo252)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-advanced-most-recent-posts-displaying-author/#post-1534989)
 * Hello,
 * I’ve tried that to add the author name :
    `$excerpt = ': ' . $excerpt . ' ' .
   get_the_author();` At the line 198, but it doesn’t run : it’s displaying the 
   same wrong author name for all recent posts.
 * I think the problem comes from the loop, but I don’t know why and how to solve
   it… any ideas ?
 * Thanks !
 *  [Kailey (trepmal)](https://wordpress.org/support/users/trepmal/)
 * (@trepmal)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-advanced-most-recent-posts-displaying-author/#post-1534990)
 * instead of `get_the_author()` try
 * `get_the_author_meta('first_name', $post->author)`
 * for something other than first name, see this codex article: [http://codex.wordpress.org/Function_Reference/the_author_meta](http://codex.wordpress.org/Function_Reference/the_author_meta)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Advanced Most Recent Posts] Displaying Author?’ is closed to
new replies.

 * 5 replies
 * 4 participants
 * Last reply from: [Kailey (trepmal)](https://wordpress.org/support/users/trepmal/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-advanced-most-recent-posts-displaying-author/#post-1534990)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
