Title: Adding Date to Recent Posts Widget
Last modified: August 19, 2016

---

# Adding Date to Recent Posts Widget

 *  [inteeraymee](https://wordpress.org/support/users/inteeraymee/)
 * (@inteeraymee)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-date-to-recent-posts-widget/)
 * I am trying to have the Widget on the side that displays the most recent posts
   also display the date that the posts were added. Maybe just the month and the
   day. Unfortunately, I am not a code wizard and have basic “skills” so I am looking
   into how to resolve this – if even possible. It doesn’t seem like it would be
   that complicated, but you never know.
 * Thanks in advance for any help. The website is: [](http://salesianlaymissioners.org/home/)

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

 *  [ambrosite](https://wordpress.org/support/users/ambrosite/)
 * (@ambrosite)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-date-to-recent-posts-widget/#post-1471324)
 * It may be possible to do that using a filter. I’ll look into it.
 *  [ambrosite](https://wordpress.org/support/users/ambrosite/)
 * (@ambrosite)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-date-to-recent-posts-widget/#post-1471389)
 * “It doesn’t seem like it would be that complicated …”
 * Famous last words. 😀
 * Well, you are right, it _shouldn’t_ have been that complicated. I looked at the
   default widget code, and I could see exactly where to make the change you requested.
   Unfortunately, there was no filter available at that spot, so I couldn’t change
   it using the normal plugin development methods.
 * As a test, I hacked one of the WordPress core files and got it working in five
   minutes. But of course, hacking core files is not something you are ever supposed
   to do on a production installation.
 * So … I decided to extract the relevant code from default-widgets.php and create
   a custom widget (I had been meaning to work through the process of creating a
   widget anyway). Here’s the download link; you’re welcome to try it if you want.
 * [http://www.ambrosite.com/download/recent-posts-dated-widget.zip](http://www.ambrosite.com/download/recent-posts-dated-widget.zip)
 * Like all plugins, it needs to be uploaded to the /wp-content/plugins/ directory
   and activated through the Plugins menu in the admin panel. It creates a widget
   called Recent Posts Dated which you can use in place of the default Recent Posts
   widget. Let me know if this is what you wanted.
 *  [Dan L](https://wordpress.org/support/users/dan-l/)
 * (@dan-l)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/adding-date-to-recent-posts-widget/#post-1471572)
 * Just what I was looking for – nice and simple, easy to modify, and works perfectly.
   Thanks for sharing!

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

The topic ‘Adding Date to Recent Posts Widget’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Dan L](https://wordpress.org/support/users/dan-l/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/adding-date-to-recent-posts-widget/#post-1471572)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
