'Includes scheduled posts going live.' ) ); CFSP_UI::toggle( 'trigger_update', 'A published post or page is edited', array( 'help' => 'If the address changes, the old one is removed from the static site.' ) ); CFSP_UI::toggle( 'trigger_remove', 'A post or page is unpublished, trashed or deleted' ); CFSP_UI::toggle( 'trigger_comments', 'A comment is approved, edited or removed' ); CFSP_UI::toggle( 'trigger_terms', 'A category or tag changes' ); CFSP_UI::toggle( 'trigger_sitewide', 'Something site-wide changes', array( 'help' => 'Menus, widgets, theme, Customizer, site title, reading or permalink settings. Rebuilds the whole site.' ) ); CFSP_UI::input( 'push_delay', 'Wait before pushing', array( 'type' => 'number', 'min' => 0, 'max' => 3600, 'suffix' => 'sec', 'help' => 'Quick edits in a row become one push. With GitHub and Cloudflare Pages, each push is one build (the free plan includes 500 a month).', ) ); CFSP_UI::input( 'page_depth', 'Refresh listing pages up to', array( 'type' => 'number', 'min' => 0, 'max' => 9999, 'prefix' => 'page', 'help' => 'A new or removed post moves every older post one place down, so page 2, 3, … of the home page and its categories all change. On a site with many posts that can mean thousands of pages per push. Set a page number to refresh only up to that page (for example 6 refreshes page 2 to 6); later pages are brought up to date by the next full export. 0 refreshes them all. Pushes of specific pages always refresh every page.', ) ); ?>
'Any scheduled post that is past its time is published (and pushed) the next time Static Push runs a background check or you open the admin.' ) ); ?>
External cron (recommended)

Have a free service call this address every minute so scheduled posts and pushes always run on time. Use cron-job.org, or a Cloudflare Worker with a Cron Trigger set to * * * * * that fetches the address.

WordPress is behind password protection, so give the cron service the same username and password.

'Never', 'hourly' => 'Hour', 'twicedaily' => '12 hours', 'daily' => 'Day', 'weekly' => 'Week', ) ); CFSP_UI::card_end(); CFSP_UI::card_start( 'Email alerts' ); CFSP_UI::toggle( 'notify_failure', 'When a push fails' ); CFSP_UI::toggle( 'notify_success', 'When a push succeeds' ); CFSP_UI::input( 'notify_email', 'Send to', array( 'type' => 'email', 'placeholder' => get_option( 'admin_email' ), 'help' => 'Leave empty to use the site admin address.', ) ); CFSP_UI::card_end();