plugin-icon

CDN Error Mockups

作者:Hiroshi Sato·
Adds a block that mimics the Cloudflare downtime error screen.
版本
1.0.4
最后更新
Apr 26, 2026
CDN Error Mockups

Adds a block that mimics the Cloudflare downtime error screen. Use it to create error pages that look like the official Cloudflare error pages.

This plugin provides a Gutenberg block that displays a realistic Cloudflare error page mockup, perfect for: – Creating custom 404 error pages – Building error page templates – Adding humorous error messages to your site – Testing error page designs

Features

  • Customizable Error Codes: Change the error code (e.g., 404, 500, 502) via block settings
  • Customizable Messages: Edit the error message text to match your needs
  • IP Address Display: Shows visitor IP address when they click “Click to reveal” (uses WordPress REST API, no external services)
  • Authentic Design: Faithfully recreates the Cloudflare error page appearance
  • Easy to Use: Simple block interface in the Gutenberg editor

This plugin is based on the cloudflare-error-page project, adapted as a WordPress block for the Gutenberg editor.

Important Notice: This plugin is not affiliated with, endorsed by, or connected to Cloudflare, Inc. This plugin is an independent project created for educational and entertainment purposes.

Usage

  1. After installing and activating the plugin, go to any page or post editor in WordPress.
  2. Click the + button to add a new block.
  3. Search for “CDN Error Mockups” or “Cloudflare” and select the block.
  4. The block will appear with default settings. You can customize:
    • Error Code: Change the error code (e.g., 404, 500, 502, 503)
    • Error Message: Edit the error message text
  5. Save or publish your page to see the error mockup on the frontend.

Example Use Cases

  • Add to your site’s 404 page template
  • Create a maintenance mode page
  • Use in page templates for error handling
  • Add to custom page templates

Source Code

The plugin’s JavaScript and CSS are built from source. The human-readable source is in the src/ directory on GitHub.

Contributing

Contributions are welcome! Here are ways you can contribute:

  • Report Bugs: Open an issue on GitHub
  • Suggest Features: Share your ideas via GitHub issues
  • Submit Pull Requests: Send pull requests with improvements or bug fixes
  • Improve Documentation: Help improve the documentation

For more information, visit the GitHub repository.

Credits

This plugin is based on the idea and some code from cloudflare-error-page by donlon (MIT License). See THIRD_PARTY_LICENSES.md for details.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。