Schedule Control

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:

  1. Go to Block Controls panel
  2. Enable Schedule
  3. Select a date for Start showing
  4. 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.

Screen Shot 2022 07 26 At 10.44.48

You can also see the timezone in Gutenberg editor below the Schedule settings and when selecting a date:


Custom timezone (Pro) #

With Pro version you can select a timezone different to the site settings:


Manage Schedule Control #

This control can be enabled/disabled in Block Controls screen of PublishPress Blocks: