Linux 软件免费装

Change Last Modified Date

开发者 djuric
更新时间 2024年8月22日 05:47
PHP版本: 5.6 及以上
WordPress版本: 6.6
版权: GPLv3 or later
版权网址: 版权信息

标签

last modified edit date edit last modified change last modified

下载

1.4.3 1.4.6 1.4.7 1.0 1.2 1.3 1.4.0 1.4.1 1.4.2 1.4.4 1.4.5

详情介绍:

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.

安装:

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

更新日志:

1.0 1.2 1.3 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7