For sites on our WordPress.com platform, the maintenance mode plugin is enabled by default. To activate the plugin, simply set the constant in your theme (see below).
If your site is on the VIP Go platform, you’ll need to first commit the plugin to your repo, before it can be activated using the constant as shown below.
Regardless of the platform you’re on, please remember to always test locally before committing your code or submitting your PR to us for review. Once this code has been committed, you can open a browser page which you are not logged-in to view the maintenance mode page.
IMPORTANT: if you’re not seeing maintenance mode enabled on the frontend of your site, check the (WordPress.com) logged-in vs. logged-out experience…they’re different, by design!
VIP_MAINTENANCE_MODE constant to your theme and set to
define( 'VIP_MAINTENANCE_MODE', true ); ... // And be sure to load the plugin itself! wpcom_vip_load_plugin( 'maintenance-mode' );
To add a custom template / messaging:
- Add a template to your theme’s root folder called
- This should be a simple HTML page that should include the message(s) you want to show your visitors.
- Note: the template should include