wordpress snippets last updated   : January 29, 2015
we now have 646 snippets

Maintenance mode for the admin only

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will put only your wordpress admin section into maintenance mode. I have had a few projects that have required me to do this for a number of reasons so I had put this little snippet together. Don’t forget to change ADMIN_NAME to the username for your account.

read more