Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

EnvBeacon Wordpress Plugin - Rating, Reviews, Demo & Download

EnvBeacon Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

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, and regex)
  • 💾 Lightweight – no database overhead
  • 🚀 Universal – works with any WordPress site

Quick Start

To set up the plugin:

  1. In WordPress admin, go to Settings EnvBeacon
  2. Enter your Live environment URL (e.g., example.com)
  3. Enter your Staging URL pattern (e.g., staging.example.com or staging-*)
  4. Optionally customize the indicator colors
  5. Click Save Changes

URL Pattern Examples:

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

Any URL that doesn’t match will default to “Local” (green indicator).

Usage

Once activated and configured, the EnvBeacon will:

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

No further configuration needed!

Developer Usage

Check the current environment in your PHP code:

`php

// Get environment name (local, staging, live)
$env = envbeacon_get_current_environment();

// Get environment label (Local, Staging, Live)
$label = envbeacon_get_current_environment_label();

// In conditional logic
if (envbeacon_get_current_environment() === ‘live’) {
// Do something only on live
}
`

Disable the banner programmatically:

`php

add_filter(‘envbeacon_disable_admin_bar’, ‘__return_true’);
`

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.

Screenshots

  1. EnvBeacon settings page

    EnvBeacon settings page

  2. Red indicator on live site

    Red indicator on live site


Reviews & Comments