Title: Change Last Modified Date
Author: djuric
Published: <strong>Iyul 29, 2017</strong>
Last modified: Sentabr 11, 2025

---

Search plugins

![](https://ps.w.org/change-last-modified-date/assets/icon-128x128.png?rev=2889513)

# Change Last Modified Date

 By [djuric](https://profiles.wordpress.org/djuric/)

[Download](https://downloads.wordpress.org/plugin/change-last-modified-date.1.4.8.zip)

 * [Details](https://uz.wordpress.org/plugins/change-last-modified-date/#description)
 * [Reviews](https://uz.wordpress.org/plugins/change-last-modified-date/#reviews)
 *  [Installation](https://uz.wordpress.org/plugins/change-last-modified-date/#installation)
 * [Development](https://uz.wordpress.org/plugins/change-last-modified-date/#developers)

 [Support](https://wordpress.org/support/plugin/change-last-modified-date/)

## Description

Using this plugin you can easily change or prevent updating the last modified date
for each post. Controlling the last modified date can come in handy when you would
like to control «order by last modified» for posts (or custom post type).

When this plugin is active it will enable Last modified date options in Status &
Visibility panel in sidebar. Changing the modified date can be done by clicking 
the date link and selecting a new date for the post. It’s also possible to disable
future updates of the last modified date by setting the «Freeze modified date» option
to on.

#### Custom post types support

To update the last modified date, plugin is using «rest_pre_insert_{$post_type}»
hook which is executed before «init» where other custom post types are usually registered.
This is the reason why plugin is not aware of any additional post types other than
those registered by WordPress core. To support additional post types you can add
constant in following format to wp-config.php:

    ```
    define( 'CLM_DATE_POST_TYPES', ['post-type-slug-1', 'post-type-slug-2'] );
    ```

Custom post types are also required to have «custom-fields» support declared.

#### Support

For support or code contributions please refer to [Github repo](https://github.com/djuric/change-last-modified-date).

## Screenshots

 * [[
 * screenshot-1.png

## Installation

 1. Upload zip package to Plugins > Add New in admin of wordpress.
 2. Activate the plugin.

## Reviews

![](https://secure.gravatar.com/avatar/1efc9ff8c178be7f35eaa3385389e41380af6bca2aa761ba0649aeb4053ed585?
s=60&d=retro&r=g)

### 󠀁[Would be great if work with classic editor](https://wordpress.org/support/topic/would-be-great-if-work-with-classic-editor/)󠁿

 [anonichan](https://profiles.wordpress.org/anonichan/) Fevral 16, 2025

I mean I can switch to block editor to use it, but then the post type has to be 
REST API available that’s not ideal. For now it works if I rollback to version 1.2.

![](https://secure.gravatar.com/avatar/50c3162c50fe1dfa39fc4178137f43a98740c24013b25c171da437587b70152c?
s=60&d=retro&r=g)

### 󠀁[Amazing plugin for feature that should’ve been native](https://wordpress.org/support/topic/amazing-plugin-for-feature-that-shouldve-been-native/)󠁿

 [karlemilnikka](https://profiles.wordpress.org/karlemilnikka/) Avgust 22, 2024

The ability to control the last-modified date should be a native feature of WordPress.
This plugin adds the missing functionality, exactly that, and more than that. What
more could I ask for? 🙂

![](https://secure.gravatar.com/avatar/e3bec9809a7b3321e49e97456595fb55dd495d9f5a8aaefc3ac2bdae4aeaa8f5?
s=60&d=retro&r=g)

### 󠀁[Works good so far](https://wordpress.org/support/topic/works-good-so-far-7/)󠁿

 [Laura](https://profiles.wordpress.org/lauraxrammstein/) Mart 26, 2024

I was looking for something to change the modified date or «freeze» it completely
when I made only minor changes. This plugin ticks all boxes and works great so far.
The «freeze» option works well but I have to test a bit more. So far I’m happy.

![](https://secure.gravatar.com/avatar/8829fe4fd9956c1ae60bed51a43bc1ae8c629e5ac106d634ad890919c5b6cbb3?
s=60&d=retro&r=g)

### 󠀁[It seems to still work on current WP ver. 6.1.1](https://wordpress.org/support/topic/it-seems-to-still-work-on-current-wp-ver-6-1-1/)󠁿

 [hero2](https://profiles.wordpress.org/hero2/) Mart 26, 2023

I use the current WordPress version 6.1.1 with the Astra Pro theme (and Spectra).
I could change the Last Updated Date on all my Posts using this plugin. You just
have to be aware that if you change something else in a post, then the date will
be updated to the current point in time, and you have to change it back, unless 
you use the «Freeze modified date» option.

![](https://secure.gravatar.com/avatar/e52219e35dd38ce9b5cd5c5ba65b218e576f04673884f8f56995d5fe6b3d3d82?
s=60&d=retro&r=g)

### 󠀁[Currently does not work with classic editor](https://wordpress.org/support/topic/currently-does-not-work-with-classic-editor/)󠁿

 [nimmolo](https://profiles.wordpress.org/nimmolo/) Aprel 21, 2021

Would love to use this plugin, but it doesn’t work with the «classic editor» anymore.
The author suggests using an earlier release, but I went back to version 1.3 and
1.2, and neither of them worked for me either. I code and manage a lot of commercial
websites, and none of them uses Gutenberg, it’s too easy for clients to mess up 
sites with it.

![](https://secure.gravatar.com/avatar/d636578280eb327d4d658d28f60d380fff1e09ebda85198120b476e25d394d64?
s=60&d=retro&r=g)

### 󠀁[Love this plugin](https://wordpress.org/support/topic/love-this-plugin-895/)󠁿

 [zalon](https://profiles.wordpress.org/zalon/) Aprel 29, 2020

We love this little plugin. It does not add much overhead to the admin interface
and simply does it’s job.

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/change-last-modified-date/reviews/)

## Contributors & Developers

“Change Last Modified Date” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ djuric ](https://profiles.wordpress.org/djuric/)

“Change Last Modified Date” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/change-last-modified-date/contributors)
for their contributions.

[Translate “Change Last Modified Date” into your language.](https://translate.wordpress.org/projects/wp-plugins/change-last-modified-date)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/change-last-modified-date/),
check out the [SVN repository](https://plugins.svn.wordpress.org/change-last-modified-date/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/change-last-modified-date/)
by [RSS](https://plugins.trac.wordpress.org/log/change-last-modified-date/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release.

#### 1.2

 * Remove unnecessary directory

#### 1.3

 * Rewrite the plugin for new block editor

#### 1.4.2

 * Fix plugin crashing for custom post types without custom fields support declared

#### 1.4.3

 * Update wp-scripts to v26.1.0
 * Remove/update deprected props and functions

#### 1.4.4

 * Update wp-scripts to v26.1.0
 * Revert back to using __experimentalGetSettings from @wordpress/date

#### 1.4.5

 * Use correct text domain
 * Register translations via wp_set_script_translations()

#### 1.4.6

 * Fix timezone issue when displaying last modified date
 * Use 12h format in datetime picker when appropriate
 * Add button to copy published date
 * Use official getSettings instead of __experimentalGetSettings from @wordpress/
   date

#### 1.4.7

 * Build files for production

#### 1.4.8

 * Fix GTM date so that it matches current time zone settings

## Meta

 *  Version **1.4.8**
 *  Last updated **7 oy ago**
 *  Active installations **3 000+**
 *  WordPress version ** 5.1 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 5.6 or higher **
 *  Languages
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/change-last-modified-date/),
   [English (US)](https://wordpress.org/plugins/change-last-modified-date/) va [German](https://de.wordpress.org/plugins/change-last-modified-date/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/change-last-modified-date)
 * Tags
 * [edit date](https://uz.wordpress.org/plugins/tags/edit-date/)[last-modified](https://uz.wordpress.org/plugins/tags/last-modified/)
 *  [Advanced View](https://uz.wordpress.org/plugins/change-last-modified-date/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/change-last-modified-date/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/change-last-modified-date/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/change-last-modified-date/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/change-last-modified-date/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/change-last-modified-date/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/change-last-modified-date/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/change-last-modified-date/reviews/)

## Contributors

 *   [ djuric ](https://profiles.wordpress.org/djuric/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/change-last-modified-date/)