Maintenance Mode

Shut down your site for a little while and do some maintenance on it! Still allows authors, editors, and administrators to browse the site normally.

Usage

Add the VIP_MAINTENANCE_MODE constant to your theme and set to true:

define( 'VIP_MAINTENANCE_MODE', true );
...
// And be sure to load the plugin itself!
wpcom_vip_load_plugin( 'maintenance-mode' );

Custom Template

To add a custom template / messaging:

  • Add a template to your theme’s root folder called template-maintenance-mode.php.
  • This should be a simple HTML page that should include the message(s) you want to show your visitors.
  • Note: the template should include wp_head() and wp_footer() calls.