WordPress maintenance mode page with or without plugin

Display WordPress maintenance mode html page with or without plugin. Check best wp maintenance mode plugin and function code and don’t say maintenance mode not working or stuck.

WordPress maintenance mode page with or without plugin
WordPress maintenance mode page with or without plugin

Why WordPress maintenance mode?

Instead of displaying error page to valuable user, It’s always better to display maintenance mode message in page while updating site design or fixing bug or update site for make it future ready.

WordPress maintenance mode without plugin

Log in to your WordPress website. Go to the tab Appearance – Editor. To the left, click on Theme Functions (functions.php). After click on the file all content displays in the file functions.php and you can edit it. Copy below code and paste it at the bottom of the file functions.php. Now save the file by click Update File button.

// Function for WP Maintenance Mode
function wp_maintenance_mode(){
    if(!current_user_can('edit_themes') || !is_user_logged_in()){
        wp_die('<h1 style="color:red">Website is currently down for maintenance</h1><br />{MAINTENANCE REASON GOES HERE}. We will be back on-line shortly. Thanks for your patience.');
add_action('get_header', 'wp_maintenance_mode');

After complete above process, sites not logged in user will see maintenance mode message. But site will available for administrators.

Once your change done for maintenance just removed added code from Theme Functions (functions.php) file and save it.

WordPress maintenance mode plugin

If you find above process hard to implement, you can use some best WordPress maintenance mode plugin like below.

1. WP Maintenance Mode
Add a maintenance page to your blog that lets visitors know your blog is down for maintenance, or add a coming soon page for a new website. User with admin rights gets full access to the blog including the front end.

2. Ultimate Coming Soon Page
The Ultimate Coming Soon Page plugin allows you quick and easily set up a coming soon or launch page for your website.

Simple and flexible, the Ultimate Coming Soon Page plugin works with any WordPress theme you have installed on your site. Anyone who isn’t logged in to your site will see the coming soon page, while you or any other logged-in staffers can access the site as normal and do not not see the coming soon page which allows you to work on your changes or content.

3. Under Construction:
Display an Under Construction, Maintenance Mode or Landing Page that takes 5 seconds to setup, while you’re doing maintenance work on your site.

4. Coming Soon Page & Maintenance Mode by SeedProd
Create a simple Coming Soon Page or Maintenance Mode Page. Work on your site in provite while visitors see a “Coming Soon” or “Maintenance Mode” page.

5. Ultimate Maintenance Mode
The Ultimate Maintenance Mode plugin displays a screenshot of your website with an overlayed window and the reason your site is down.


Hope you like both method for WordPress maintenance mode. Both methods are easy and useful, you can use any one based on requirement.