Back to Top

How To Put WordPress Site Into Maintenance Mode?

WordPress site into maintenance mode Without Plugin

With explained hook function over here, you can put WordPress site into Maintenance Mode easily.This is useful if you want to test a design change or new functionality without affecting your readers. So they will know that they are carrying out maintenance tasks.

By placing the following function in functions.PHP, you can see each user who is not logged in or do not have permission to edit the theme rather than enter the site, an error message will be displayed on the site that we want.

That’s it, Now you can see your site is in maintenance mode.

Thank you for reading, good luck and let me know if you run into any problems & I’ll help as much as I can 🙂
Hope this post will helpful for you, waiting for your responses.Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

The Reader’s Poll – June 2014

Posted on 10 years ago

Bhumi

How to Fetch Twitter data using cURL

Posted on 12 years ago

Bhumi

Introduction to PDO in PHP

Posted on 9 years ago

Bhumi