跳到内容

365i Environment Indicator

v1.1.1

Mark McNeece of 365i · 2026年1月11日 上架

Displays a color-coded DEV, STAGING, or LIVE indicator in the admin bar to prevent accidental changes on production sites.

正在使用
10+
评分
暂无
累计下载
880
最近更新
2026年5月21日
需要 WordPress 6.0+已测试到 7.0.9PHP 7.4+

截图

Settings page showing DEV environment with live preview badge and manual detection mode
Settings page showing DEV environment with live preview badge and manual detection mode
Settings page with automatic detection enabled showing LIVE environment via subdomain detection
Settings page with automatic detection enabled showing LIVE environment via subdomain detection
Dashboard widget displaying environment status, detection method, site URL, and system versions
Dashboard widget displaying environment status, detection method, site URL, and system versions
Customization options with custom labels and custom colors enabled, plus color pickers
Customization options with custom labels and custom colors enabled, plus color pickers
Settings page showing STAGING environment with orange admin bar background coloring
Settings page showing STAGING environment with orange admin bar background coloring
Visual enhancements toggles and role-based visibility settings with user role selection
Visual enhancements toggles and role-based visibility settings with user role selection

Environment Indicator adds a prominent visual indicator to the WordPress admin bar showing the current site environment. This high-visibility indicator helps prevent accidental changes on production sites by making the environment instantly recognizable to logged-in users.

Perfect for developers, agencies, and teams managing multiple environments (development, staging, production) across different sites.

Key Features

Smart Environment Detection
* Automatically detects environment using WordPress core constants (WP_ENVIRONMENT_TYPE)
* Supports popular hosting providers: WP Engine, Pantheon, Kinsta, Flywheel
* Legacy Bedrock constant support (WP_ENV)
* Subdomain-based heuristics (dev.example.com, staging.example.com)
* Manual override option for custom setups

Customization Options
* Custom Colors – Match your branding or personal preferences for each environment
* Custom Labels – Rename DEV/STAGING/LIVE to LOCAL, UAT, PRODUCTION, or anything you prefer
* Role-Based Visibility – Control which user roles can see the indicator (great for client sites)

Visual Enhancements
* Admin bar label (always visible)
* Full admin bar background coloring (high-visibility option)
* Browser tab prefix – instantly identify environments across multiple tabs
* Top border in wp-admin screens
* Admin footer watermark
* Dashboard widget showing environment status and system information

Export/Import
* Export settings as JSON to deploy across multiple sites
* Import settings from JSON file
* Perfect for agencies managing client sites with consistent configurations

Multisite Compatible
* Full support for WordPress multisite installations
* Network-wide settings when network-activated
* Per-site settings when activated on individual sites

How It Works

Detection runs in this order:

  1. WordPress core constant: WP_ENVIRONMENT_TYPE
  2. Legacy constant: WP_ENV
  3. Hosting provider constants (WP Engine, Pantheon, Kinsta, Flywheel)
  4. Subdomain patterns (dev, staging, test, qa)
  5. Default to LIVE if no detection

You can always override automatic detection and manually select the environment.

Perfect For

  • Developers – Never accidentally deploy to the wrong environment
  • Agencies – Manage multiple client sites with consistent environment indicators
  • Teams – Everyone instantly knows which environment they’re working in
  • Managed Hosting – Works out-of-the-box with WP Engine, Pantheon, Kinsta, and Flywheel

Zero Impact on Visitors

The indicator only displays for logged-in users. Public visitors see no performance impact or visual changes.

Development

Development of this plugin happens on GitHub: https://github.com/BSolveIT/environment-indicator

Bug reports and feature requests are welcome!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums