Title: Show time published?
Last modified: June 13, 2019

---

# Show time published?

 *  [marioluigi](https://wordpress.org/support/users/marioluigi/)
 * (@marioluigi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/show-time-published/)
 * This seems like something basic that every theme should show, but I can’t get
   Astra to display the time the post was published next to the date/author.
 * I know you can just add a snippet to the either the functions.php or the single.
   php? Could anyone offer some guidance?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/show-time-published/#post-11634210)
 * Hi [@marioluigi](https://wordpress.org/support/users/marioluigi/) ,
 * As of now, there is no option to enable the publish time. But it can be achieved
   using the code below in the [child theme’s](https://wpastra.com/child-theme-generator/)
   function.php file.
 *     ```
       add_filter( 'astra_post_date_format', 'astra_add_time_with_date' );
   
       /**
        * Filter function to add time in the published date of post.
        *
        * @param string $format default format is '' blank.
        * @return string
        */
       function astra_add_time_with_date( $format ) {
           $format = 'F j, Y, g:i a';
           return $format;
       }
       ```
   
 * I am sure this will help.
 * Regards,
    Deepak

Viewing 1 replies (of 1 total)

The topic ‘Show time published?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/astra/4.13.4/screenshot.jpg)
 * Astra
 * [Support Threads](https://wordpress.org/support/theme/astra/)
 * [Active Topics](https://wordpress.org/support/theme/astra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/astra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/astra/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/show-time-published/#post-11634210)
 * Status: not resolved