The “Schedule Control” feature in PublishPress Blocks allows you to control when a specific Gutenberg block will start and stop showing.
You can add the following restrictions to any Gutenberg block:
- Schedule when to start showing a block
- Schedule when to stop showing a block
- Schedule when to start showing and stop showing a block
- Schedule which days of the week to show a block
- Schedule the time range hours to show a block
Schedule a block between the selected dates #
If you want to show a block between the selected dates, follow these steps:
- Go to Block Controls panel
- Enable Schedule
- Select a date for Start showing
- Select a date for Stop showing
Optionally:
- If you want to show the block between the selected dates every year, enable “Recurring”.
- If you want to show the block in specific days of the week, check the days in “On these days”.
- If you want to show the block in a time range hours, select “Between these times” hours.
Schedule a block from a starting date #
If you want to show a block forever (starting from a specific date), follow these steps:
- Go to Block Controls panel
- Enable Schedule
- Select a date for Start showing
- Leave Stop showing as “Never”
Optionally:
- If you want to show the block in specific days of the week, check the days in “On these days”.
- If you want to show the block in a time range hours, select “Between these times” hours.
Schedule a block until a selected date #
If you want to show a block until reaching a selected date, follow these steps:
- Go to the “Block Controls” panel in the right siderbar.
- Click “Enable block schedule”.
- Leave “Start showing” as “Now”.
- Select a “Stop showing” date.
Optionally:
- If you want to show the block in specific days of the week, check the days in “On these days”.
- If you want to show the block in a time range hours, select “Between these times” hours.
Timezone Settings #
The timezone used in this feature is the same one configured in your WordPress site through Settings > General > Timezone.
You can also see the timezone in Gutenberg editor below the Schedule settings and when selecting a date:
Manage Schedule Control #
This control can be enabled/disabled in Block Controls screen of PublishPress Blocks: