plugin-icon

Graceful Error Pages

作者:Bojan Josifoski·
Replace WordPress's ugly error screens with branded, professional pages — in one click.
版本
1.0.7
最后更新
Jun 5, 2026
Graceful Error Pages

Every WordPress site shows the same plain white error screen when something goes wrong. It looks broken. It destroys trust. Graceful Error Pages replaces it with a page that matches your brand — automatically, the moment you activate it.

What it replaces:

  • The wp_die() error screen (permission errors, expired links, security blocks)
  • PHP fatal error screens (white screen of death)

Features:

  • Zero-config activation — works immediately with auto-detected site name, logo, and colors
  • Five built-in templates — Minimal, Corporate, Friendly, Dark, and Starter
  • Brand customization — logo, colors, heading, message, and redirect URL
  • Merge tags — dynamic content like {site_name} and {year}
  • Self-contained styling — no theme or CDN dependencies (works even during fatal errors)
  • API safe — only overrides HTML output; REST API, AJAX, and JSON responses are untouched
  • WP-CLI safe — automatically skips CLI contexts
  • Lightweight — zero overhead on normal page loads; only runs when an error occurs
  • Fully translatable — all strings use WordPress i18n functions

How it works:

  1. Activate the plugin
  2. Your site’s error pages are instantly branded with auto-detected settings
  3. Optionally customize via Settings > Error Pages

Source Code

The full source code, including unminified JavaScript and build tools, is available at: github.com/codeverbojan/graceful-error-pages

To build from source:

  1. Clone the repository
  2. Run composer install
  3. Run npm install
  4. Run npm run build
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0
这个插件是可用的下载,适用于您的站点。