[WordPress] 外掛分享: Graceful Error Pages

首頁外掛目錄 › Graceful Error Pages
WordPress 外掛 Graceful Error Pages 的封面圖片
全新外掛
安裝啟用
尚無評分
11 天前
最後更新
問題解決
WordPress 6.4+ PHP 8.0+ v1.0.7 上架:2026-06-04

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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:

Activate the plugin
Your site’s error pages are instantly branded with auto-detected settings
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:

Clone the repository
Run composer install
Run npm install
Run npm run build

延伸相關外掛

文章
Filter
Apply Filters
Mastodon