Changing Date Format

Home Forums Gillion Theme Changing Date Format

Home Forums Gillion Theme Changing Date Format

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • lushcreative
    Participant

    I’d like to remove the “1 week ago” date format and replace with just Month Day, Year. Is there some custom code I can add/replace to do that? Can I do it without adding a child theme?

     

    Thanks!

    Hi @lushcreative,

     

    I hope you are well today and thank you for your question.

     

    We have created feature request in the following topic to implement this option in the future version of theme.

     

    https://support.shufflehound.com/forums/topic/replace-time-ago-with-the-actual-time/#post-20583

     

    In the meanwhile if you want to achieve this without using child theme then you can achieve it by editing following line of code wherever you find it in the theme file /gillion/inc/helpers_blog.php

     

    <?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . ' ' . esc_html__( 'ago', 'gillion' ); ?>

     

    Best regards,
    Shufflehound team

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form