Skip to content

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.

Notifications You must be signed in to change notification settings

buzztone/WP-Maintenance-Mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published