• Hi,
    How to add time at single post meta info? In Kadence Single Post Layout Customizer, there is meta setting to show date but when it enabled, it just show date of post published without time. Just “published on December 25, 2021”. How to add time info? thus becoming “publised on December 25, 2021 03:15 PM, updated on December 26, 2021 06:08 PM”.
    Thanks

Viewing 1 replies (of 1 total)
  • Hi,
    There isn’t a built-in option for this. Right now you would need to edit the template entry_meta.php line 127 replacing:

    esc_html( get_the_date() ),

    with this:

    esc_html( get_the_date() . ' ' . get_the_time() ),

    And then line 151

    esc_html( get_the_modified_date() )

    with this:

    esc_html( get_the_modified_date() . ' ' . get_the_modified_time() )

    I suggest using a child theme to make these edits.

    Ben

Viewing 1 replies (of 1 total)
  • The topic ‘How to add time at single post meta info?’ is closed to new replies.