Hello,
1. You can change that by altering the author using “wpmm_meta_author” filter.
// this should be placed in functions.php of your active theme
function custom_wpmm_meta_author($author){
return 'whatever you want';
}
add_filter('wpmm_meta_author', 'custom_wpmm_meta_author', 10, 1);
2. Another way is to make a copy of “maintenance.php” from “views” folder (from /wp-content/plugins/wp-maintenance-mode/) into /wp-content/. This way the plugin will load /wp-content/maintenance.php and you can delete/edit that line:
<meta name="author" content="<?php echo esc_attr($author); ?>" />
Anyway, I would (strongly) recommend you to use the first way. You can check the result with Facebook debugger: https://developers.facebook.com/tools/debug/sharing/
In a future release I think we will add a new setting (in the dashboard) for the author.
Just to correct the author, in order to make a custom version of the splash page file, e.g. to modify the Author details or to e.g. add css classes etc, you will need to follow this:
1) Copy the file /wp-content/plugins/wp-maintenance-mode/views/maintenance.php
2) Drop it here: /wp-content/maintenance.php
3) Rename it to wp-maintenance-mode.php
You have to rename it because the author appears to have become confused with some coding in the file /wp-content/plugins/wp-maintenance-mode/includes/classes/wp-maintenance-mode.php on line 506
if (file_exists(WP_CONTENT_DIR . '/wp-maintenance-mode.php')) {
include_once(WP_CONTENT_DIR . '/wp-maintenance-mode.php');
} else {
include_once(WPMM_VIEWS_PATH . 'maintenance.php');
}
ob_flush();
Perhaps the author can correct that at some time in the future.
@iamhere: thank you. You’re right, my bad. The name should be “wp-maintenance-mode.php”.
Also, in 2.0.5 the plugin is using the blogname as author.