Bulk edit publish date

Plugin Banner

Bulk edit publish date

by dahousecatz

Download
Description

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.

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
  1. Shows the set publish date bulk action in the drop down.

    Shows the set publish date bulk action in the drop down.

  2. Shows setting the date using the html 5 date element type before the bulk action  is applied.

    Shows setting the date using the html 5 date element type before the bulk action is applied.

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.

Exactly what I needed

By 3ftomi on June 17, 2023

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!

nice but small issue

By hkpresent on January 9, 2021

very nice plugin but the plugin doesnt work when editing more than 50 posts it will break any method and fix for this?

Very Simple and works well

By ABCDiamond on October 7, 2020

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.

Works like a charm!

By WebMan Design | Oliver Juhas (webmandesign) on July 21, 2020

Thank you, this plugin works perfectly. Just what I needed.

Works As Advertised - A Huge Timesaver

By partyparty on January 10, 2020

This type of functionality should be inherent in WordPress. But of course it's not. The plugin has saved hours and hours of my day. Thank you.

Did Exactly What It Said It Would

By mightybutton on December 31, 2019

Bulk changing the year isn't as intuitive as you would think, but once you figure it out it works like a charm.

Outstanding and Unbelieveable

By draamirsh on September 15, 2019

I tried a lot of plugins to schedule my posts . Plugins having thousand of installations. But didnt get my required result. Then i found this one . It was hard to believe that what an extra ordinary plugin is this . Just freed all of y tensions . Very simple like ABC .. just select your posts and set a date. thats it . Thanks a lot and thousands of appreciations for this great work dude .

Thanks

By randzgonz02 on June 7, 2019

Working fine with WordPress 5.2.1 and PHP 7.0.33. Thank you!

Worked like a charm

By harvis on January 8, 2019

I was afriad becuase low downlowads and just one reviews but i worked as described without any issue. I want to thank you the author for make my life easier with this plugin. This plugin must have more 5 stars and more download i support you! Great Work!

Fantastic Plugin!

By Jon Dennis (jondennis) on October 21, 2018

Took me hours to find this plugin - this is exactly what I needed, and does the job very nicely. I had 300 posts that needed to go live at midnight in two weeks, and it would have taken ages to do it the normal WordPress way, so this plugin enabled me to do it in 5 minutes (including installing the plugin!).

1.0

  • First version released.
Back to top