WordPress.org

Ready to get started?Download WordPress

Forums

Display time specified in scheduled post, not post created time (1 post)

  1. sixeleven
    Member
    Posted 2 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic