WordPress.org

Support

Support » How-To and Troubleshooting » Adding time to “Published:”

Adding time to “Published:”

  • Hi!

    So I’m wondering how I add the time when a post is published. I’m a newbie, indeed.

    <span class="date"><?php _e('Skrivet den', 'default'); ?> <?php the_time('d F Y') ?></span>

    I thought it could be something like (‘d F Y’ , ‘G:i’) but obviously not… hm?

    Help please!

    Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding time to “Published:”’ is closed to new replies.