WordPress.org

Support

Support » Plugins and Hacks » Hacks » Display time specified in scheduled post, not post created time

Display time specified in scheduled post, not post created time

  • Hi there,

    I’ve hunted high and low for an answer to this but can’t seem to find the solution I’m looking for. In a nutshell, on my blog I display the post’s date with this:

    <?php the_time(‘d/m/y’) ?> at <?php the_time(‘h:m:s a’) ?>

    The latter part of that shows the posts creation time and not it’s actual scheduled time, if the post has been scheduled.

    i.e. I schedule a post for 12:30pm, I want the post to say “..at 12:30 pm” rather than it’s current “..at 8:57 am”

    I can’t seem to find any easy way of doing this (or any way of doing it at all) – is it an easy fix?

    Apologies if this is in the wrong forum, this seemed the best place to put the question 🙂

  • The topic ‘Display time specified in scheduled post, not post created time’ is closed to new replies.
Skip to toolbar