Title: Adding/changing post date in theme
Last modified: August 19, 2016

---

# Adding/changing post date in theme

 *  [h3odst](https://wordpress.org/support/users/h3odst/)
 * (@h3odst)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/click-here/)
 * My blog is [http://www.gamecrimes.com](http://www.gamecrimes.com) and I just 
   made some posts yesterday to try the theme out but the date shows up as November
   2008? Why is this? How do I fix the dates to make it the current date?
 * Also, for the “Recent News” post, which is automatically the latest post I make,
   it does not show a date. How do I put a date there?
 * The theme by the way that I am using is this:
 * [http://www.wpthemedesigner.com/2009/01/13/news-theme/](http://www.wpthemedesigner.com/2009/01/13/news-theme/)

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/click-here/#post-980688)
 * That November date is hardcoded in the theme’s index.php file.
 * You want to use the [template tag](http://codex.wordpress.org/Template_Tags),
   [the_time()](http://codex.wordpress.org/Template_Tags/the_time), to display the
   date for both the Recent News and to replace that November date.
 * The WordPress Default theme’s wp-content/themes/default/index.php file has an
   example of using ‘the_time’.

Viewing 1 replies (of 1 total)

The topic ‘Adding/changing post date in theme’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/click-here/#post-980688)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
