Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Bulk edit publish date

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.

Captures d’écran

  • 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.

Installation

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

FAQ

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.

Avis

17 juin 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!
9 janvier 2021
very nice plugin but the plugin doesnt work when editing more than 50 posts it will break any method and fix for this?
7 octobre 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.
Lire les 10 avis

Contributeurs/contributrices & développeurs/développeuses

« Bulk edit publish date » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Bulk edit publish date” a été traduit dans 1 locale. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Bulk edit publish date » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

1.0

  • First version released.