Title: Adding &quot;Published On&quot; date
Last modified: August 19, 2016

---

# Adding "Published On" date

 *  [mb](https://wordpress.org/support/users/ukparknews/)
 * (@ukparknews)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/adding-published-on-date/)
 * Hi All
 * We’ve recently added a new theme to the site, but this theme doesn’t display 
   the date/time posts were created unlike the original theme we had.
 * Does anyone know what code needs to be added to the singleposts.php file that
   will reference the date and time the post was added to wordpress?
 * Thanks

Viewing 1 replies (of 1 total)

 *  [Rahul Sonar](https://wordpress.org/support/users/rahulsonar/)
 * (@rahulsonar)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/adding-published-on-date/#post-1984145)
 * [http://codex.wordpress.org/Function_Reference/the_time](http://codex.wordpress.org/Function_Reference/the_time)
 * use this inside your loop

Viewing 1 replies (of 1 total)

The topic ‘Adding "Published On" date’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Rahul Sonar](https://wordpress.org/support/users/rahulsonar/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/adding-published-on-date/#post-1984145)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
