Title: replace the date
Last modified: August 19, 2016

---

# replace the date

 *  Resolved [briangerard](https://wordpress.org/support/users/briangerard/)
 * (@briangerard)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/replace-the-date/)
 * I’m curious if there is a way to replace the dates that appear on the front page,
   with the title of the post. Any help would be much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/replace-the-date/#post-1351438)
 * With the help of the [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
   article, determine what [Template](http://codex.wordpress.org/Templates) is displaying
   those dates (could be your theme’s index.php). Then edit that [Template](http://codex.wordpress.org/Templates)
   and get rid of the code that displays the date (usually `the_date()` or `the_time()`
   and then insert the code for the post title. For the post title the WordPress
   Default theme’s wp-content/themes/default/index.php uses this:
 *     ```
       <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
       ```
   
 *  Thread Starter [briangerard](https://wordpress.org/support/users/briangerard/)
 * (@briangerard)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/replace-the-date/#post-1351448)
 * Thank you for the quick response, I’ll give it a shot.
 *  Thread Starter [briangerard](https://wordpress.org/support/users/briangerard/)
 * (@briangerard)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/replace-the-date/#post-1351508)
 * Thank you very much. Based on that, I was able to find it and replace it.
 *  [Jenika](https://wordpress.org/support/users/jenika/)
 * (@jenika)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/replace-the-date/#post-1351722)
 * briangerard – I haven’t been able to figure it out. Can you please share which
   file you edited, where you edited, and what you changed? Thanks much.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘replace the date’ is closed to new replies.

## Tags

 * [autofocus](https://wordpress.org/support/topic-tag/autofocus/)

 * 4 replies
 * 3 participants
 * Last reply from: [Jenika](https://wordpress.org/support/users/jenika/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/replace-the-date/#post-1351722)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
