WordPress. How to hide time and date from the post page
WordPress
Author
author
Date
2019-06-10 11:02
Views
2015
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:
- Login to your WordPress admin panel.
- Go to Appearance ->Editor.
![date_&_time_in_wordpress_post](http://info.template-help.com/wp-content/uploads/2011/12/date__time_in_wordpress_post.jpg)
- 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.
![date_&_time_in_wordpress_post_update](http://info.template-help.com/wp-content/uploads/2011/12/date__time_in_wordpress_post_update-300x114.jpg)
- Clear your web browser’s cache and preview the changes.
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 2015
|
author | 2019.06.10 | 0 | 2015 |
22 |
What’s The Difference Between JPG, PNG And GIF?
author
|
2019.06.07
|
Votes 0
|
Views 2020
|
author | 2019.06.07 | 0 | 2020 |
21 |
How to Migrate your Site with All-in-One WP Migration
author
|
2019.06.07
|
Votes 0
|
Views 2342
|
author | 2019.06.07 | 0 | 2342 |
20 |
How do I Stop My Android Tablet from Sleeping?
author
|
2019.06.04
|
Votes 0
|
Views 2016
|
author | 2019.06.04 | 0 | 2016 |
19 |
How to keep your Android phone's screen on longer
author
|
2019.06.04
|
Votes 0
|
Views 2372
|
author | 2019.06.04 | 0 | 2372 |
18 |
Things You MUST DO Before Changing WordPress Themes (1)
inrokhah
|
2019.05.29
|
Votes 0
|
Views 2260
|
inrokhah | 2019.05.29 | 0 | 2260 |
17 |
How to Remove Author Name from WordPress Posts (2 Easy Ways)
inrokhah
|
2019.05.29
|
Votes 0
|
Views 2024
|
inrokhah | 2019.05.29 | 0 | 2024 |
![]()
inrokhah
|
2019.05.29
|
Votes 0
|
Views 2013
|
inrokhah | 2019.05.29 | 0 | 2013 | |
16 |
Remove sidebar / widgets from WooCommerce shop page (13)
inrokhah
|
2019.05.26
|
Votes 0
|
Views 2163
|
inrokhah | 2019.05.26 | 0 | 2163 |
15 |
Online documentation: Buttons Shortcode and Widget plugin
inrokhah
|
2019.05.26
|
Votes 0
|
Views 2341
|
inrokhah | 2019.05.26 | 0 | 2341 |
14 |
Buttons Shortcode and Widget
inrokhah
|
2019.05.26
|
Votes 0
|
Views 2464
|
inrokhah | 2019.05.26 | 0 | 2464 |