Schedule website publication

The ability to schedule the time the new site goes live.

Example: I want my website to have a nice winter picture in the winter. I upload and set it as background the day before, and schedule it to publish 22 December at 0:00.

You can’t currently schedule a time for your site to publish, but you can definitely create the effect you describe using code.

If you want to change the background picture of a page on a certain date, you can do something like this:

$w.onReady(function () {
 let currentDate = new Date(); 
 let switchDate = new Date('2019-12-22');
 
 if(currentDate >= switchDate){
   $w("Document").background.src = 'new_image_url_goes_here';
 }
 
});

And then publish that anytime before the switchover date.