Title: change date format
Last modified: November 8, 2016

---

# change date format

 *  [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/change-date-format-39/)
 * Hi,
    earlier I changed the date format for recent posts in the second sidebar
   from j M, Y to j M Y. As far as I remember, I changed this in the file wp-content/
   themes/hueman-child/functions/widgets/alx-posts.php
 * After the last update, the comma returned, and I have no idea why. Can anyone
   help?

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

 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/change-date-format-39/#post-8413487)
 * Hi,
 * I don’t think it’s possible to overwrite this in child theme.
    Widgets are not
   Theme Templates.
 * The file alx-post.php is required directly into the theme using load_template
   function and not get_template_part function.
    You can see the code here. [https://themes.trac.wordpress.org/browser/hueman/3.2.10/functions/init-sidebars-widgets.php#L6](https://themes.trac.wordpress.org/browser/hueman/3.2.10/functions/init-sidebars-widgets.php#L6)
 * Perhaps, you had edited the Hueman theme directly, which is why you lost your
   edit after theme update.
 * It’s only possible to edit directly in Hueman theme, or create your own widget
   in your child theme’s functions.php with your own customization. ( using the 
   existing widget codes as an example )
 * Thank you
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/change-date-format-39/#post-8413742)
 * Hi Denzel,
    thanks for replying. I never change the theme itself, only the child
   theme, so that cannot be the cause. I did change the functions.php file by adding
   this part of code:
 *     ```
       function hu_load() {
           // Load theme languages
           load_theme_textdomain( 'hueman', get_stylesheet_directory().'/languages' );
   
           // Load theme options and meta boxes
           // load_template( get_template_directory() . '/functions/theme-options.php' );
           load_template( get_template_directory() . '/functions/init-meta-boxes.php' );
   
           // Load custom widgets
           load_template( get_template_directory() . '/functions/widgets/alx-tabs.php' );
           load_template( get_template_directory() . '/functions/widgets/alx-video.php' );
           load_template( get_stylesheet_directory() . '/functions/widgets/alx-posts.php' );
   
           // Load dynamic styles
           load_template( get_template_directory() . '/functions/dynamic-styles.php' );
       ```
   
 * That was some time ago, I cannont find the earlier thread in my comments. But
   untill now, it worked fine.
    It’s not a major problem, but still I’d like to 
   solve this.
 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/change-date-format-39/#post-8413922)
 * Hi,
 * I cannot find that function in current Hueman Theme.
    I think the theme Author
   must have removed that function, and re-wrote how files are handled.
 * It’s not correct to load files in a function that can be overwritten by child
   theme.
    This can cause many issues, because you will be loading “outdated” functions
   from your child theme. If parent theme make changes that requires those functions
   to change too, it will crash your site.
 * Only templates are safe to be overwritten.
 * Thank you
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/change-date-format-39/#post-8413997)
 * Hi Denzel,
    these were instructions from the original author of the theme, I 
   couldn’t possibly have invented this myself :-). I do hope the new theme author
   can help out on this.
 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/change-date-format-39/#post-8417992)
 * Hi,
 * I had made a feature request to the Theme Author, to add filters in widgets to
   allow us to make changes in child theme. Let’s wait for his decision.
    [https://github.com/presscustomizr/hueman/issues/343](https://github.com/presscustomizr/hueman/issues/343)
 * Thank you.

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

The topic ‘change date format’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/change-date-format-39/#post-8417992)
 * Status: not resolved