IT ENGLISH BOARD

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

Author
author
Date
2019-06-10 12:35
Views
1679

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



  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.
  2. 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
33
Remove Powered by WordPress in 3 Easy Steps (2)
author | 2019.07.05 | Votes 0 | Views 13089
author 2019.07.05 0 13089
32
Fix: The System Administrator Has Set Policies to Prevent This Installation
author | 2019.07.03 | Votes 0 | Views 1700
author 2019.07.03 0 1700
31
Why is this preventing me installing an MSI: The System Administrator has set policies to prevent this installation (7)
author | 2019.07.03 | Votes 0 | Views 1911
author 2019.07.03 0 1911
30
Child Themes
author | 2019.06.29 | Votes 0 | Views 1595
author 2019.06.29 0 1595
29
My computer is running slow, what steps can I do to fix it?
author | 2019.06.29 | Votes 0 | Views 1608
author 2019.06.29 0 1608
28
Nighthawk M1 port forwarding not working (8)
author | 2019.06.27 | Votes 0 | Views 3964
author 2019.06.27 0 3964
27
Plugged in, not charging problem, Windows 10
author | 2019.06.17 | Votes 0 | Views 1640
author 2019.06.17 0 1640
26
How to fix a Windows 10 laptop that's plugged in but not charging - Cnet
author | 2019.06.17 | Votes 0 | Views 1690
author 2019.06.17 0 1690
25
WordPress. How to hide time and date from the post page
author | 2019.06.10 | Votes 0 | Views 1679
author 2019.06.10 0 1679
24
How to Remove the Date from Your WordPress Posts
author | 2019.06.10 | Votes 0 | Views 1666
author 2019.06.10 0 1666
New