Would probably want to go with the safe_redirect version and an internal link (maybe housed in the includes folder) so others can use this theme. I'd want to add this as the very first thing in the functions.php so it's easy to find.
Or, I could include a file includes/maint/maint.php in functions.php. I could add the constant to the functions.php constants, so all I need to do is toggle it true/false and the files are abstracted away into a separate folder.
This could be something like:
Would probably want to go with the safe_redirect version and an internal link (maybe housed in the includes folder) so others can use this theme. I'd want to add this as the very first thing in the functions.php so it's easy to find.
Or, I could include a file includes/maint/maint.php in functions.php. I could add the constant to the functions.php constants, so all I need to do is toggle it true/false and the files are abstracted away into a separate folder.