Title: display author name
Last modified: August 20, 2016

---

# display author name

 *  [Pirco the One and Only](https://wordpress.org/support/users/pirocpiroccom/)
 * (@pirocpiroccom)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/display-author-name/)
 * I see that $p->post_author shows the author’s ID of a given favorite.
    can someone
   point me to a quick and slim (low dB overhead) solution to display the author’s
   name? thanks
 * [http://wordpress.org/extend/plugins/wp-favorite-posts/](http://wordpress.org/extend/plugins/wp-favorite-posts/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Pirco the One and Only](https://wordpress.org/support/users/pirocpiroccom/)
 * (@pirocpiroccom)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/display-author-name/#post-3151253)
 * oh I think I got it:
 *     ```
       $author_info = get_userdata($p->post_author);
       $author_name = $author_info-> display_name;
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘display author name’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-favorite-posts.svg)
 * [WP Favorite Posts](https://wordpress.org/plugins/wp-favorite-posts/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-favorite-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-favorite-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-favorite-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-favorite-posts/reviews/)

## Tags

 * [author name](https://wordpress.org/support/topic-tag/author-name/)

 * 1 reply
 * 1 participant
 * Last reply from: [Pirco the One and Only](https://wordpress.org/support/users/pirocpiroccom/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/display-author-name/#post-3151253)
 * Status: not resolved