WordPress.org

Support

Support » How-To and Troubleshooting » How to Remove Timestamps from Posts

How to Remove Timestamps from Posts

  • masterytv
    Member

    @masterytv

    I’m trying to make my home page look like the other pages and have no timestamp on the post.

    Does anyone know how to either:

    a) remove the timestamp from posts on the home page, or
    b) make the home page look like the other created pages and have the blog page (with timestamps) on another page?

    Thanks,
    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • masterytv
    Member

    @masterytv

    Roy
    Member

    @gangleri

    If I understand what you mean you only have to open the index.php in a text editor and remove the timestamp part in a section that looks something like this:
    <div class="postmetadata"><?php the_time('jS F Y') ?> <!-- <?php _e('by') ?> <?php the_author() ?> --></div>

    If you keep the part in your single.php, there will be no timestamp on the index, but there will be on the single posts page. You can also edit the same part in your archives.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Remove Timestamps from Posts’ is closed to new replies.