If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to hide time and date from the post page

How to hide the date and time(timestamp) in WordPress (post)

In order to hide a timestamp in WordPress on your blog posts, please do the following:

  1. Login to your WordPress admin panel.
  2. Go to Appearance ->Editor.

  1. Make sure that the theme you are going to edit is selected from the right-hand menu at the top.
  2. Look for the file called (index.php or single.php) (the file name depends on the template) under the “Templates” on the right. Click on that.
  3. You can skip this step, but it is highly recommended that you make a copy of the original code before making any changes to it.
  4. Using Control + F (MAC: Command + F) look for the following part in the code:
<?php the_time('F j, Y'); ?> at  <?phpthe_time() ?>

(template specific, so it may look not exactly the same, but similar)

  1. Surround the lines with the following comment markers (<!–and–>) so it would look like
<!--<?phpthe_time('F  j, Y'); ?> at <?phpthe_time() ?>--> 

or simply delete the whole part

  1. Click on “Update File” at the bottom of the code.

  1. Clear your web browser’s cache and preview the changes.

 

Please, also watch a demo movie on how to do this.

how to hide the date and time in wordpress

WordPress. How to hide time and date from the post page, 4.5 out of 5 based on 2 ratings