How To Remove Post Update Date in WordPress

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.

Methods to Remove the Date from Your WordPress Posts

  • From the WordPress Dashboard
  • Plugin Method
  • CSS Method
  • Code Edit Method

How to Remove the Date from Your WordPress Posts

1 – First Open Your Blog and See Your Update Date Will show

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

Removing the Date With Code

4 – Now Click on Single-author-date.php
Click on This

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 : ?>

6 – After Replaced code Click on Save and you Show Message on Top Edited Successfully.

7 – Now Go back to your Blog Homepage and Open any Post. You See Update Option Will Remove.

Remove the Date With Plugin in WordPress

  • Go to Plugins section of Admin Panel
  • Plugins > Add New
  • Search the plugin name WP Meta and Date Remover
  • Install and activate it.
  • After the activation, check the plugin settings to remove the date or any other meta elements.

I 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.

2 thoughts on “How To Remove Post Update Date in WordPress”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.