Set wordpress under maintenance mode
How to set a wordpress site under maintenance mode In order to customize your wordpress site without your users facing broken links or other issues, it is possible to set a maintenance mode. To perform this, add the following code to your site. // Activate WordPress Maintenance Modefunction wp_maintenance_mode() {if (!current_user_can(‘edit_themes’) || !is_user_logged_in()) {wp_die(‘Under MaintenanceWebsite […]
Set wordpress under maintenance mode Read More »