Title: Date only.
Last modified: August 22, 2016

---

# Date only.

 *  Resolved [erodegrigo](https://wordpress.org/support/users/erodegrigo/)
 * (@erodegrigo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/date-only/)
 * Hi…..
 * I wanna show only date not name+date.
    It’s possible?
 * Bye.
 * [https://wordpress.org/plugins/wp-recent-posts-from-category/](https://wordpress.org/plugins/wp-recent-posts-from-category/)

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

 *  [Sam](https://wordpress.org/support/users/oxiclean/)
 * (@oxiclean)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/date-only/#post-5483551)
 * View the plugin source, and modify it to remove the author.
 *  Plugin Author [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * (@danieledesantis)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/date-only/#post-5483661)
 * Hi erodegrigo,
    like Oxiclean said, you need to edit the plugin file to remove
   the author.
 * Open wp-recent-posts-from-category.php and go to line 151:
    `if ($meta) { $output.
   = '<br><small>' . get_the_author() . ' - ' . get_the_date() . '</small>'; }`
 * Remove the author, so your code now is:
    `if ($meta) { $output .= '<br><small
   >' . get_the_date() . '</small>'; }`
 * Hope this helps, bye
    Daniele
 *  [luovajohtaja](https://wordpress.org/support/users/luovajohtaja/)
 * (@luovajohtaja)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/date-only/#post-5483837)
 * Hi there,
 * But what happens when you update the plugin? That code change gets overridden?
   Why not add 2 different span elements with their own class names? So you could
   hide the author via CSS?
 *  Plugin Author [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * (@danieledesantis)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/date-only/#post-5483838)
 * Hi luovajohtaja,
    yes, your file gets overridden when you update the plugin, 
   you have to copy your changes to the new version.
 * Having 2 different elements (with different classes) for author and date is a
   good idea, will be done in next release.
 * Thanks!
    Daniele

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

The topic ‘Date only.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-recent-posts-from-category_00746b.
   svg)
 * [WP Recent Posts From Category](https://wordpress.org/plugins/wp-recent-posts-from-category/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-recent-posts-from-category/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-recent-posts-from-category/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-recent-posts-from-category/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-recent-posts-from-category/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-recent-posts-from-category/reviews/)

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/date-only/#post-5483838)
 * Status: resolved