WordPress

How To Remove Post Update Date in WordPress

How To Remove Post Update Date in Wordpress
Written by Bilal Tahir Khan

Hi, I Today We Learn How To Remove Post Update Date in WordPress: Last Night I Notice When I published My post .in Post I do some change and update it again.I Notice it Also Shows update option.I Dislike it.Now I Show You How To Remove Post Update Date in WordPress.Lets Start…

How to Remove the Date from Your WordPress Posts

1 – First Open Your Blog and See Your Update Date Will showHow to Remove the Date from Your WordPress Post

2 – Now Login In your WordPress Dashboard
3 – Now Go To Appearance and Click on Editor

Removing the Date With CodeHow to Remove the Date from Your WordPress Posts

4 – Now Click on Single-author-date.php
Click on This
How to Remove the Date from Your WordPress Posts

5 –  Now Author Date Edit Page open And You See Code in Picture

This Code is In Your Blog you Change it.

<?php if( get_the_modified_date() != get_the_date() || get_the_modified_time() != get_the_time() ) : ?>
<?php _e('Published', 'hueman'); ?> <time class="published" datetime="<?php echo $published_date; ?>"><?php echo $published_date; ?></time>
&middot; <?php _e('Updated', 'hueman'); ?> <time class="updated" datetime="<?php the_modified_date( get_option('date_format') ); ?>"><?php the_modified_date( get_option('date_format') ); ?></time>
<?php else : ?>

Now You Replace Code With This code

<?php if( get_the_modified_date() != get_the_date() || get_the_modified_time() != get_the_time() ) : ?>
<?php _e('Published', 'hueman'); ?> <time class="published" datetime="<?php the_time('Y-m-d H:i:s'); ?>"><?php the_time(get_option('date_format')); ?></time>
<?php else : ?>

How to Remove the Date from Your WordPress Posts

6 – After Replaced code Click on Save and you Show Message on Top Edited Successfully.
How to Remove the Date from Your WordPress Posts

7 – Now Go back your Blog Homepage and Open any Post.You See Update Option Will Remove.
How to Remove the Date from Your WordPress Posts

Hope it Will Helpful For You and If you Face any problem in this post and you Want to Improve or add more Things please Text Us.Via Mail or Comments.We Improve it More.Thank you For Reading.

About the author

Bilal Tahir Khan

Bilal Tahir Khan Meo is the owner of alltechabout.com and writes on various Topics like Online Earning, SEO, Blogging etc.

1 Comment

Leave a Comment