• I would like to show the TIME of a scheduled post in the backend. I have a blog with multiple posters and they are always scheduling posts for the same time since no one can see the time stamp. There used to be a plug in for this but it hasn’t been updated in years. Does Jetpack have a way to show this?

    Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    If you hover over the date on the posts list table, you can see the scheduled time. If you would rather see the time without the need to hover, use the ‘post_date_column_time’ filter. This fires twice for every post listed. The first time will be the complete date/time seen on hover. The second time will be just the date as displayed in the column. You can change this to date/time by getting the value from the passed post object.

    Thread Starter comixace

    (@comixace)

    Sorry you lost me there – I assume I would need to change this in functions?

    Moderator bcworkz

    (@bcworkz)

    The necessary code can be added to functions.php, yes.

    The column_date() method which uses this filter devotes a lot of logic to decide what should be output where. Because you could use date/time in all cases, your callback doesn’t need any logic. It would take the passed $post object and return get_post_time('Y/m/d g:i:s a', false, $post, false) in all cases. Use your preferred date format string in place of ‘Y/m/d g:i:s a’ if you like.

    Thread Starter comixace

    (@comixace)

    Ah okay, that’s a bit beyond my WP knowledge but I’ll see if I can get my developer to check on this. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do you show the TIME of s scheduled post in the admin panel???’ is closed to new replies.