Adds a splash page to your site that lets visitors know your site is down for maintenance. Full access to the back- & front-end is optional.
PHP JavaScript CSS
Latest commit 7bc02d6 Jul 6, 2016 @georgejipa georgejipa 2.0.7 release
* reset_settings _wpnonce check (thanks # Wordfence)
* modules > google analytics code sanitization (thanks @ Wordfence)
* move sidebar banners from our servers to plugin folder... as WordPress
staff requested
* Subscribe button error on Mobile version (thanks @ Hostílio Thumbo)
* replace $wp_scripts global with wp_scripts() function
* de_DE language file update (thanks @ tt22tt)
Permalink
Failed to load latest commit information.
assets 2.0.7 release Jul 6, 2016
includes 2.0.7 release Jul 6, 2016
languages 2.0.7 release Jul 6, 2016
views 2.0.7 release Jul 6, 2016
index.php version 2.0.0 Sep 1, 2014
readme.md 2.0.7 release Jul 6, 2016
readme.txt 2.0.7 release Jul 6, 2016
uninstall.php 2.0.3 edits Oct 6, 2014
wp-maintenance-mode.php 2.0.7 release Jul 6, 2016

readme.md

Version 2.0.7

WP Maintenance Mode

Adds a splash page to your site that lets visitors know your site is down for maintenance. It's perfect for a coming soon page.

Features

  • Fully customizable (change colors, texts and backgrounds);
  • Subscription form (export emails to .csv file);
  • Countdown timer (remaining time);
  • Contact form (receive emails from visitors);
  • Coming soon page;
  • Landing page templates;
  • WordPress multisite;
  • Responsive design;
  • Social media icons;
  • Works with any WordPress theme;
  • SEO options;
  • Exclude URLs from maintenance.

Credits

Developed by Designmodo

F.A.Q.

How to use plugin filters

wpmm_backtime - can be used to change the backtime from page Retry-After header

function new_backtime() {
    return 1800;
}

add_filter('wpmm_backtime', 'new_backtime');

Now... the search bots will retry to visit the page after 1800 seconds.

wpmm_search_bots - if you have Bypass for Search Bots option (from General) activated, it can be used to add / delete bots (useragents)

function new_search_bots($bots) {
    // we delete a bot from array
    if(!empty($bots['AcoiRobot'])){ 
        unset($bots['AcoiRobot']);
    }

    // we add a new bot into array
    if(empty($bots['new_robot'])){ 
        $bots['new_robot'] = 'NewRobot'; // NewRobot is the user agent
    }

    return $bots;
}

add_filter('wpmm_search_bots', 'new_search_bots');

We deleted a bot from list and added a new one.

wpmm_text - can be used to change Text option

function new_text($text) {
    $text = str_replace('http://www.designmodo.com', 'http://designmodo.com', $text);


    return $text;
}

add_filter('wpmm_text', 'new_text');

We replaced a string with another string. We can also add another text, add some extra html, etc.

wpmm_styles - can be used to embed new css files

function new_css_styles($styles) {
    $styles['new-style'] = 'path_to_css_file/style.css'; // replace with the real path :)

    return $styles;
}

add_filter('wpmm_styles', 'new_css_styles');

We embedded a new css style on maintenance page. Same mechanism can be used for javascript files (see wpmm_scripts filter).

Cache Plugin Support

WP Maintenance Mode can be unstable due the cache plugins, we recommend to deactivate any cache plugin when maintenance mode is active.

Other Notes

License

Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog.

Translations

The plugin comes with various translations, please refer to the WordPress Codex for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the .pot file which contains all defintions and may be used with a gettext editor like Poedit (Linux, Mac OS X, Windows).

Contact & Feedback

Please let me know if you like the plugin or you hate it or whatever... Please fork it, add an issue for ideas and bugs.