Use the code LIFETIME at checkout and get 20% off our limited-time lifetime plans. Offer available until September 21.
WPCodeBox Documentation
< All Topics
Print

How to enable maintenance mode with 2 clicks using WPCodeBox

WPCodeBox has a maintenance mode snippet in the snippet repository.

To add this code snippet to your WordPress site, just open the Code Snippet Repository, search for "maintenance", or look under the "maintenance" category. And select the "Enable maintenance mode for non-logged-in users". Once you downloaded the snippet you can just enable it each time you want to put your WordPress site in maintenance mode. The site will be in maintenance mode just for non-admin users.

Previous How to add Facebook Pixel to your WordPress site
Next How to target the Oxygen Builder UI using the condition builder