Title: change date format in widget recent posts
Last modified: July 23, 2017

---

# change date format in widget recent posts

 *  [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/change-date-format-in-widget-recent-posts/)
 * I started a topic earlier ([https://wordpress.org/support/topic/change-date-format-39/](https://wordpress.org/support/topic/change-date-format-39/)),
   and Denzel Chia was kind enough to add a request on Github. [https://github.com/presscustomizr/hueman/issues/343](https://github.com/presscustomizr/hueman/issues/343)
 * I just found out this issue has been set to ‘Fixed” 29 days ago by Nikeo, but
   I’m not quite sure what to do: should I add the file functions/widgets/alx-posts.
   php to my child theme and alter the date format there? Or is the option to change
   the date format for the recent posts widget hidden somewhere in the customizer?

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

 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/change-date-format-in-widget-recent-posts/#post-9344901)
 * Hi,
 * Filter for date format is added at the following location.
    [https://github.com/presscustomizr/hueman/blob/ec7017696e198356016d2ee7790037d7fd4cac9d/functions/widgets/alx-posts.php#L77](https://github.com/presscustomizr/hueman/blob/ec7017696e198356016d2ee7790037d7fd4cac9d/functions/widgets/alx-posts.php#L77)
 * You will have to write your own function in your child theme’s functions.php 
   to filter it.
 * Thank you
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/change-date-format-in-widget-recent-posts/#post-9422164)
 * Hi Denzel,
    could you perhaps give me some hints how to write this function? 
   I’ve been searching and trying to add the right code to my functions.php, but
   I’m not a developer, and to be honest I don’t really have enough experience to
   solve this. I just need to be able to change the date format in the recent post
   widget.

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

The topic ‘change date format in widget recent posts’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [MarionFW](https://wordpress.org/support/users/marionfw/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/change-date-format-in-widget-recent-posts/#post-9422164)
 * Status: not resolved