WordPress. How to hide time and date from the post page
Author
author
Date
2019-06-10 12:35
Views
2216
WordPress. How to hide time and date from the post page
- Login to your WordPress admin panel.
- Go to Appearance ->Editor.
- Make sure that the theme you are going to edit is selected from the right-hand menu at the top.
- 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.
- 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.
- 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)
- 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
- Click on “Update File” at the bottom of the code.
- Clear your web browser’s cache and preview the changes.
Total Reply 0
Total 104
Number | Title | Author | Date | Votes | Views |
103 |
Join a Microsoft Teams meeting
author
|
2020.09.22
|
Votes 0
|
Views 3507
|
author | 2020.09.22 | 0 | 3507 |
102 |
How to delete songs and albums from your Google Play Music library
author
|
2020.09.19
|
Votes 0
|
Views 3669
|
author | 2020.09.19 | 0 | 3669 |
101 |
Watch Prime Video on Chromecast
author
|
2020.09.14
|
Votes 0
|
Views 3695
|
author | 2020.09.14 | 0 | 3695 |
100 |
How to Fix the Windows 10 We Couldn’t Connect to the Update Service Issue (2)
author
|
2020.09.09
|
Votes 0
|
Views 4458
|
author | 2020.09.09 | 0 | 4458 |
99 |
IONOS Joomla! Standard Installation
author
|
2020.09.02
|
Votes 0
|
Views 2336
|
author | 2020.09.02 | 0 | 2336 |
98 |
How to improve the life of a Battery: (1)
author
|
2020.08.25
|
Votes 0
|
Views 2381
|
author | 2020.08.25 | 0 | 2381 |
97 |
Laptop battery not charging
author
|
2020.08.21
|
Votes 0
|
Views 2688
|
author | 2020.08.21 | 0 | 2688 |
96 |
Plugged in, not charging (1)
author
|
2020.08.21
|
Votes 0
|
Views 2486
|
author | 2020.08.21 | 0 | 2486 |
95 |
How to add reCaptcha plugin to a custom form on my WordPress website?
author
|
2020.08.13
|
Votes 0
|
Views 2691
|
author | 2020.08.13 | 0 | 2691 |
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 2375
|
author | 2020.08.13 | 0 | 2375 |