Skip to content

Instantly share code, notes, and snippets.

@zeropointdevelopment
Created December 27, 2013 04:59
Show Gist options
  • Save zeropointdevelopment/8142756 to your computer and use it in GitHub Desktop.
Save zeropointdevelopment/8142756 to your computer and use it in GitHub Desktop.
[WordPress] Code from our blog post Pimp My WordPress Maintenance Mode Message - http://www.limecanvas.com/pimp-my-wordpress-maintenance-mode-message/
if ( file_exists( WP_CONTENT_DIR . '/maintenance.php' ) ) {
require_once( WP_CONTENT_DIR . '/maintenance.php' );
die();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment