[WordPress] 外掛分享: EnvBeacon

首頁外掛目錄 › EnvBeacon
WordPress 外掛 EnvBeacon 的封面圖片
全新外掛
安裝啟用
尚無評分
18 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.2.0 上架:2026-05-28

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「EnvBeacon」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

EnvBeacon is a lightweight WordPress plugin designed for development teams managing multiple WordPress environments (local, staging, production). It displays a color-coded notice bar in the WordPress admin bar, making it instantly clear which environment you’re working on.
Perfect for preventing:
– Accidentally modifying content on live sites
– Publishing changes to staging instead of live
– Confusion when switching between environments
Features

🎨 Color-coded environment indicators (Red for Live, Blue for Staging, Green for Local)
⚙️ Easy-to-use settings page for URL pattern configuration
🔄 Automatic environment detection based on site URL
📋 Flexible URL patterns (simple strings, wildcards, regex alternation)
🏠 Built-in defaults for local, staging, and live environments
💾 Lightweight – no database overhead
🚀 Universal – works with any WordPress site

Quick Start
To set up the plugin:

In WordPress admin, go to Settings → EnvBeacon
Enter your Live environment URL (e.g., example.com)
Staging patterns come pre-filled with common defaults: stg|staging|stage|qa|dev-staging
Local patterns come pre-filled with common defaults: localhost|127.0.0.1|.local|.test
Customize patterns and colors as needed
Click Save Changes

Default Patterns:

Staging: stg|staging|stage|qa|dev-staging
Local: localhost|127.0.0.1|.local|.test

Custom Pattern Examples:

example.com – Simple string match
*.example.com – Wildcard (matches staging.example.com, qa.example.com, etc.)
staging|stage|qa – Regex alternation (matches any of these words)

Usage
Once activated and configured, the EnvBeacon will:

Check your site’s URL on each page load
Match it against your configured patterns
Display a colored indicator in the WordPress admin bar
Show the environment name (Live, Staging, or Local)

No further configuration needed!
Support
For support, questions, or feature requests, please visit the plugin support forum or check the documentation in the settings page.
The plugin includes detailed URL pattern syntax help in the settings page to guide you through configuration.
License
This plugin is licensed under the GPL v2 or later.
Credits
Built for development teams who need clear environment indication.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon