该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Bulk edit publish date

描述

Adds a bulk action to all post types to allow setting the publish date to a specific date time.

The bulk action is by default applied to all post types.

The plugin uses input types of date and time to allow users to set the desired publish date / time.

This is a very lightweight plugin as has as little code as possible, and is also designed to be developer friendly
with alter hooks allowing other plugins to make changes to how this plugin operates.

屏幕截图

  • Shows the set publish date bulk action in the drop down.
  • Shows setting the date using the html 5 date element type before the bulk action is applied.

安装

The easiest way to install this plugin is to go to Add New in the Plugins section of your blog admin and search for
“Bulk edit publish date.” On the far right side of the search results, click “Install.”

If the automatic process above fails, follow these simple steps to do a manual install:

  1. Extract the contents of the zip file into your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Can I edit the post types that this bulk action will apply to?

The post types that this should be applied to can be editing by using the bulk_edit_publish_date_post_types filter.

For example you could put this in your code to remove the bulk action from the post type “post”:

add_filter('bulk_edit_publish_date_post_types', 'my_plugin_bulk_edit_publish_date_post_types');
function my_plugin_bulk_edit_publish_date_post_types($post_types) {
    unset($post_types['post']);
    return $post_types;
}
Can I edit the post data used to update the post before the post is saved?

Yes, the filter bulk_edit_publish_date_post_update_data can be used to make any changes to the update data before the
post is saved.

Can I edit the admin notice before it’s displayed?

Yes, the filter bulk_edit_publish_date_admin_notice can be used to make any changes to the admin notice before it’s
output to the screen.

评价

2023 年 6 月 17 日
Hassle free easy method to set the date of many or all (custom) posts at same time. Thank you so much! You saved a lot of time to me! God bless you making this available free of charge!
2021 年 1 月 9 日
very nice plugin but the plugin doesnt work when editing more than 50 posts it will break any method and fix for this?
2020 年 10 月 7 日
I have a number of posts that update every day from tables, but I also had to edit each one, just to update the date every day. This little plugin lets me select those posts, and update the post date for them nice and easily. A real time saver. One little issue. I have to set the new time for the post about 12 hours earlier than my time zone, otherwise it schedules the post somehow. But other than that, it's perfect.
阅读所有10条评价

贡献者及开发者

“Bulk edit publish date” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Bulk edit publish date」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Bulk edit publish date”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0

  • First version released.