跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Lock Last Modified Date

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Lock Last Modified Date

作者:NEXTFLY® Web Design
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Lock Last Modified Date allows you to control when your post’s modified date gets updated. This is particularly useful when:

  • Making minor typo corrections
  • Updating thumbnails or images
  • Making small formatting changes
  • Any other minor edits where you don’t want to update the last modified date

Features

  • Compatible with both Classic Editor and Gutenberg
  • Simple toggle interface in the post editor
  • Maintains the original modified date when enabled
  • Works with all post types
  • No configuration needed

Available Filter Hook

nextfly_llmd_modified_time_format( $format )

Use this filter to customize the date/time format in the editor.

屏幕截图

Classic Editor interface
Classic Editor interface
Gutenberg Editor interface
Gutenberg Editor interface

安装

  1. Upload the plugin files to the /wp-content/plugins/lock-last-modified-date directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the checkbox in the post editor’s publish box to lock/unlock the modified date

常见问题

Does it support Classic Editor?

Yes, the plugin is fully compatible with Classic Editor.

Does it support Gutenberg Editor?

Yes, the plugin works seamlessly with the Gutenberg editor.

Where can I find the lock option?

In Classic Editor: Look for the checkbox in the Publish meta box.
In Gutenberg: Find the toggle in the post settings sidebar under the “Status & Visibility” panel.

评价

Great start

shawfactor 2025 年 6 月 30 日
Its mssing the key functionality to be the all round soluton but great at what it does
阅读所有1条评价

贡献者及开发者

「Lock Last Modified Date」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • NEXTFLY® Web Design

帮助将「Lock Last Modified Date」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.1.1

  • Changed: Minimum WordPress version is now 6.6
  • Fixed: Locking an already published post in the Block Editor reset its modified date to the publication date instead of preserving it
  • Fixed: Turning the lock on in the Block Editor was ignored for that save on posts whose content contains no block markup, such as older Classic Editor posts
  • Fixed: Revisions of a locked post were saved with an empty modified date

1.1.0

  • Fixed: Modified date now correctly set to the backdated publication date when locking on first publish

1.0.0

  • Initial release
  • Added support for both Classic Editor and Gutenberg
  • Implemented date locking functionality
  • Added filter hook for date format customization

额外信息

  • 版本 1.1.1
  • 最后更新:3 周前
  • 活跃安装数量 70+
  • WordPress 版本 6.6 或更高版本
  • 已测试的最高版本为 7.1.3
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    last-modifiedmodified datepost daterevisionsseo
  • 高级视图

评级

4 星(最高 5 星)。
  • 0 条 5 星评价 5 星 0
  • 1 条 4 星评价 4 星 1
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

您的评价

查看全部评论

贡献者

  • NEXTFLY® Web Design

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

China 简体中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗