Error Reporting

WP Essentials can alert you to several issues that may need your attention.

Notes

The built-in alerts include:

  • Ensure Google Analytics is installed
  • Ensure search engines aren’t blocked
  • Check for admin username
  • Check to see if Holding Page is enabled.

Custom Error Messages

This function supports custom error messages by adding the following code to your functions.php file.

Your may also use Font Awesome to include custom list icons .

function wpe_error_reports() {
    // Each error message should appear in an <li>
    $errors = '<li><i class="fa-li fa fa-cross"></i>Your first error message.</li>';
    if ($some_error == true) { $errors .= '<li>Your second error message.</li>'; }
    return $errors;
}