IT ENGLISH BOARD

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

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

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
103
Join a Microsoft Teams meeting
author | 2020.09.22 | Votes 0 | Views 2014
author 2020.09.22 0 2014
102
How to delete songs and albums from your Google Play Music library
author | 2020.09.19 | Votes 0 | Views 2183
author 2020.09.19 0 2183
101
Watch Prime Video on Chromecast
author | 2020.09.14 | Votes 0 | Views 1956
author 2020.09.14 0 1956
100
How to Fix the Win­dows 10 We Could­n’t Con­nect to the Update Ser­vice Issue (2)
author | 2020.09.09 | Votes 0 | Views 2682
author 2020.09.09 0 2682
99
IONOS Joomla! Standard Installation
author | 2020.09.02 | Votes 0 | Views 1157
author 2020.09.02 0 1157
98
How to improve the life of a Battery: (1)
author | 2020.08.25 | Votes 0 | Views 1171
author 2020.08.25 0 1171
97
Laptop battery not charging
author | 2020.08.21 | Votes 0 | Views 1479
author 2020.08.21 0 1479
96
Plugged in, not charging (1)
author | 2020.08.21 | Votes 0 | Views 1295
author 2020.08.21 0 1295
95
How to add reCaptcha plugin to a custom form on my WordPress website?
author | 2020.08.13 | Votes 0 | Views 1432
author 2020.08.13 0 1432
94
I can't log in to the WordPress admin dashboard after installing and activating Limit Attempts plugin
author | 2020.08.13 | Votes 0 | Views 1111
author 2020.08.13 0 1111
New