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

MySQL FULLTEXT Index and Search

Posted on 3 years ago


How to develop custom extension in Magento

Posted on 6 years ago


Ajax Synchronous and asynchronous requests

Posted on 2 years ago


How to use SQLite Database in PhoneGap?

Posted on 5 years ago


How automatically start session in PHP

Posted on 6 years ago