Am Ende von functions.php einfügen:
function wp_wartungs_modus() {
if ( !current_user_can( ‘edit_themes’ ) || !is_user_logged_in() ) {
wp_die(‘Diese Webseite befindet sich momentan im Wartungsmodus’);
}
}
add_action(‘get_header’, ‘wp_wartungs_modus’);
Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar.