IT ENGLISH BOARD

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

WordPress
Author
author
Date
2019-06-10 11:02
Views
1586

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




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.

Total Reply 0

Total 104
Number Title Author Date Votes Views
23
WordPress. How to hide time and date from the post page
author | 2019.06.10 | Votes 0 | Views 1586
author 2019.06.10 0 1586
22
What’s The Difference Between JPG, PNG And GIF?
author | 2019.06.07 | Votes 0 | Views 1662
author 2019.06.07 0 1662
21
How to Migrate your Site with All-in-One WP Migration
author | 2019.06.07 | Votes 0 | Views 1981
author 2019.06.07 0 1981
20
How do I Stop My Android Tablet from Sleeping?
author | 2019.06.04 | Votes 0 | Views 1601
author 2019.06.04 0 1601
19
How to keep your Android phone's screen on longer
author | 2019.06.04 | Votes 0 | Views 1942
author 2019.06.04 0 1942
18
Things You MUST DO Before Changing WordPress Themes (1)
inrokhah | 2019.05.29 | Votes 0 | Views 1854
inrokhah 2019.05.29 0 1854
17
How to Remove Author Name from WordPress Posts (2 Easy Ways)
inrokhah | 2019.05.29 | Votes 0 | Views 1639
inrokhah 2019.05.29 0 1639
Re:How to Remove Author Name from WordPress Posts (2 Easy Ways)
inrokhah | 2019.05.29 | Votes 0 | Views 1597
inrokhah 2019.05.29 0 1597
16
Remove sidebar / widgets from WooCommerce shop page (13)
inrokhah | 2019.05.26 | Votes 0 | Views 1734
inrokhah 2019.05.26 0 1734
15
Online documentation: Buttons Shortcode and Widget plugin
inrokhah | 2019.05.26 | Votes 0 | Views 1901
inrokhah 2019.05.26 0 1901
14
Buttons Shortcode and Widget
inrokhah | 2019.05.26 | Votes 0 | Views 2017
inrokhah 2019.05.26 0 2017
New