WordPress.org

Ready to get started?Download WordPress

Forums

How can I hide the date? (2 posts)

  1. lukafer2
    Member
    Posted 5 years ago #

    How can I hide the date of my posts? I know how to change the date but I don't know how to hide it.

    Thanks
    Luke

  2. asfodel
    Member
    Posted 5 years ago #

    There's probably a more sophisticated way to do this, but you can just edit it out of the main index and single post templates. The code will look something like this:
    <?php the_time('F j, Y') ?> at <?php the_time('g:i a') ?>
    Just delete it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.