WordPress.org

Support

Support » How-To and Troubleshooting » How can I hide the date?

How can I hide the date?

  • 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

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I hide the date?’ is closed to new replies.