Skip to content

Scheduled Posts

Kees Meijer edited this page Sep 11, 2017 · 34 revisions

scheduled post

Scheduled posts are posts with a future date. Normally these posts don't show up in the front of your site. The "Publish posts with future dates" checkbox allows you to have scheduled posts display in your site the same as published posts. If checked new scheduled posts will be automatically set to published instead of scheduled.

To publish existing scheduled posts use the method below.

Update Scheduled Posts with Post Status Published.

To update existing scheduled posts with the status published edit the scheduled posts with the bulk edit feature.

1 — Select the scheduled posts

Selected scheduled posts

2 — Click Bulk Actions, select Edit and click Apply

Bulk actions with Edit selected

3 — Set the status to published and click Update

Status with published selected

4 — The scheduled posts should now be published.

Published posts with future dates

Reschedule Published Posts with a Future Date.

Let's say you've checked the "Publish posts with future dates" checkbox in the Date Archives menu. By doing this posts with future dates will be set to publish. To reschedule these posts back with a post status future uncheck the checkbox (or deactivate this plugin). Now follow these steps.

1 — Select the published posts with future dates

Published posts with future dates selected

2 — Click Bulk Actions, select Edit and click Apply

Bulk actions with Edit selected

3 — Set the status to published and click Update. (Yes, you read that right, set it to published)

Status with published selected

4 — The published posts should now be rescheduled.

Selected scheduled posts

Display Scheduled Posts in the Date Archives Only

Don't publish scheduled posts, but show them in the date archives only. Here is an example to display scheduled posts in date archives for the post type 'events'. Use this in your (child) theme's functions.php file

add_filter( 'cptda_post_stati', 'add_future_status', 10 , 2 );
function add_future_status( $status, $post_type ) {
	if ( 'events' === $post_type ) {
		$status[] = 'future';
	}
	return $status;
}

Notice Single post pages for scheduled posts will be going to a 404. Make sure you don't link to them in your theme's date archive templates if you use the code above.