The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to Remove Timestamps from Posts (3 posts)

  1. masterytv
    Posted 8 years ago #

    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?


  2. masterytv
    Posted 8 years ago #

  3. Roy
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic