Change role in maintenance mode

Login as admin to my-wordpress-site/wp-admin. Go to Plugins -> WP Maintenance Mode -> Settings. Add a role to Backend Roles. To create a new role for maintenance use https://wordpress.org/plugins/user-role-editor/. User Role editor can create copies of existing roles.

Maintenance mode excluding site administrators

Only administrators already login will have access to the website, no one else. just change the $url variable to your url where you have the maintenance page desired. function wp_maintenance_mode() { if (!current_user_can(‘administrator’)) { $url = “your maintenance file url you want to display while is on maintenance”; wp_redirect( $url ); exit; } add_action(‘get_header’, ‘wp_maintenance_mode’); … Read more

How to customize maintenance mode notification in wordpress?

If you set up your WordPress website on maintenance mode manually before installing any updates, you can avoid displaying the default maintenance mode notification simply. Furthermore, you can perform the below steps to customize the maintenance mode notification correctly again. Activate the SeeProd plugin. Go to Settings and then go to the Coming Soon Pro … Read more

Custom Maintenance Page

For such maintenance mode, I found the following plugin a better one (with currently rated a 4.1 on 5): Easy Maintenance Mode — WordPress Plugins It’s a good one, and the screenshots are there to describe its look and functionality. It’ll create a maintenance banner foo all other users except the Admin. It’s has a … Read more