{"id":319056,"date":"2026-05-29T06:45:18","date_gmt":"2026-05-29T06:45:18","guid":{"rendered":"https:\/\/en-za.wordpress.org\/plugins\/environment-banner\/"},"modified":"2026-05-29T07:26:12","modified_gmt":"2026-05-29T07:26:12","slug":"envbeacon","status":"publish","type":"plugin","link":"https:\/\/vec.wordpress.org\/plugins\/envbeacon\/","author":23506957,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"EnvBeacon","header_author":"GrantB","header_description":"Displays a colored notice bar in the admin indicating which environment the site is on (Live, Staging, or Local)","assets_banners_color":"171717","last_updated":"2026-05-29 07:26:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/grantb.co.za\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":78,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"grantb89","date":"2026-05-29 06:45:00"},"1.2.0":{"tag":"1.2.0","author":"grantb89","date":"2026-05-29 07:26:12"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3553028,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3553028,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3553028,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3553028,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3553086,"resolution":"1","location":"assets","locale":"","width":1200,"height":800},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3553086,"resolution":"2","location":"assets","locale":"","width":1200,"height":800}},"screenshots":{"1":"EnvBeacon settings page","2":"Red indicator on live site","3":"Blue indicator on staging site","4":"Green indicator on local site"}},"plugin_section":[],"plugin_tags":[1339,734,7318,1120,19979],"plugin_category":[],"plugin_contributors":[264882],"plugin_business_model":[],"class_list":["post-319056","plugin","type-plugin","status-publish","hentry","plugin_tags-admin-bar","plugin_tags-development","plugin_tags-environment","plugin_tags-local","plugin_tags-staging","plugin_contributors-grantb89","plugin_committers-grantb89"],"banners":{"banner":"https:\/\/ps.w.org\/envbeacon\/assets\/banner-772x250.png?rev=3553028","banner_2x":"https:\/\/ps.w.org\/envbeacon\/assets\/banner-1544x500.png?rev=3553028","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/envbeacon\/assets\/icon-128x128.png?rev=3553028","icon_2x":"https:\/\/ps.w.org\/envbeacon\/assets\/icon-256x256.png?rev=3553028","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/envbeacon\/assets\/screenshot-1.png?rev=3553086","caption":"EnvBeacon settings page"},{"src":"https:\/\/ps.w.org\/envbeacon\/assets\/screenshot-2.png?rev=3553086","caption":"Red indicator on live site"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Perfect for preventing:<\/strong>\n- Accidentally modifying content on live sites\n- Publishing changes to staging instead of live\n- Confusion when switching between environments<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>\ud83c\udfa8 Color-coded environment indicators (Red for Live, Blue for Staging, Green for Local)<\/li>\n<li>\u2699\ufe0f Easy-to-use settings page for URL pattern configuration<\/li>\n<li>\ud83d\udd04 Automatic environment detection based on site URL<\/li>\n<li>\ud83d\udccb Flexible URL patterns (simple strings, wildcards, regex alternation)<\/li>\n<li>\ud83c\udfe0 Built-in defaults for local, staging, and live environments<\/li>\n<li>\ud83d\udcbe Lightweight - no database overhead<\/li>\n<li>\ud83d\ude80 Universal - works with any WordPress site<\/li>\n<\/ul>\n\n<h3>Quick Start<\/h3>\n\n<p><strong>To set up the plugin:<\/strong><\/p>\n\n<ol>\n<li>In WordPress admin, go to Settings \u2192 EnvBeacon<\/li>\n<li>Enter your Live environment URL (e.g., <code>example.com<\/code>)<\/li>\n<li>Staging patterns come pre-filled with common defaults: <code>stg|staging|stage|qa|dev-staging<\/code><\/li>\n<li>Local patterns come pre-filled with common defaults: <code>localhost|127.0.0.1|.local|.test<\/code><\/li>\n<li>Customize patterns and colors as needed<\/li>\n<li>Click Save Changes<\/li>\n<\/ol>\n\n<p><strong>Default Patterns:<\/strong><\/p>\n\n<ul>\n<li><strong>Staging<\/strong>: <code>stg|staging|stage|qa|dev-staging<\/code><\/li>\n<li><strong>Local<\/strong>: <code>localhost|127.0.0.1|.local|.test<\/code><\/li>\n<\/ul>\n\n<p><strong>Custom Pattern Examples:<\/strong><\/p>\n\n<ul>\n<li><code>example.com<\/code> - Simple string match<\/li>\n<li><code>*.example.com<\/code> - Wildcard (matches staging.example.com, qa.example.com, etc.)<\/li>\n<li><code>staging|stage|qa<\/code> - Regex alternation (matches any of these words)<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>Once activated and configured, the EnvBeacon will:<\/p>\n\n<ol>\n<li>Check your site's URL on each page load<\/li>\n<li>Match it against your configured patterns<\/li>\n<li>Display a colored indicator in the WordPress admin bar<\/li>\n<li>Show the environment name (Live, Staging, or Local)<\/li>\n<\/ol>\n\n<p>No further configuration needed!<\/p>\n\n<h3>Support<\/h3>\n\n<p>For support, questions, or feature requests, please visit the plugin support forum or check the documentation in the settings page.<\/p>\n\n<p>The plugin includes detailed URL pattern syntax help in the settings page to guide you through configuration.<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPL v2 or later.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Built for development teams who need clear environment indication.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Search for \"EnvBeacon\" in the WordPress plugin directory<\/li>\n<li>Click \"Install Now\"<\/li>\n<li>Activate the plugin<\/li>\n<li>Go to Settings \u2192 EnvBeacon to configure your environments<\/li>\n<li>Enter your Live and Staging URL patterns<\/li>\n<li>Save changes<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"q%3A%20will%20this%20affect%20my%20site%27s%20performance%3F\"><h3>Q: Will this affect my site's performance?<\/h3><\/dt>\n<dd><p>A: No, the detection is very lightweight (just a URL comparison) and only runs once per page load.<\/p><\/dd>\n<dt id=\"q%3A%20what%20if%20i%20don%27t%20configure%20it%3F\"><h3>Q: What if I don't configure it?<\/h3><\/dt>\n<dd><p>A: All traffic will show as \"Local\" by default, which is safe.<\/p><\/dd>\n<dt id=\"q%3A%20can%20i%20use%20regex%20patterns%3F\"><h3>Q: Can I use regex patterns?<\/h3><\/dt>\n<dd><p>A: Yes! Advanced users can use full regex patterns. Just enter your regex directly in the URL field.<\/p><\/dd>\n<dt id=\"q%3A%20does%20this%20work%20on%20the%20frontend%3F\"><h3>Q: Does this work on the frontend?<\/h3><\/dt>\n<dd><p>A: Only when the WordPress admin bar is visible (when <code>show_admin_bar()<\/code> is true). It won't appear for logged-out users.<\/p><\/dd>\n<dt id=\"q%3A%20can%20i%20customize%20the%20colors%3F\"><h3>Q: Can I customize the colors?<\/h3><\/dt>\n<dd><p>A: Yes, each environment has a customizable color in the settings page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added Local environment URL pattern field<\/li>\n<li>Added intelligent default patterns for Staging (<code>stg|staging|stage|qa|dev-staging<\/code>)<\/li>\n<li>Added intelligent default patterns for Local (<code>localhost|127.0.0.1|.local|.test<\/code>)<\/li>\n<li>Improved URL matching with automatic regex alternation support<\/li>\n<li>Local environment now checks patterns before defaulting<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added admin settings page for easy configuration<\/li>\n<li>Made URL patterns fully configurable via the settings UI<\/li>\n<li>Added support for wildcard and regex URL patterns<\/li>\n<li>Added color customization per environment<\/li>\n<li>Made plugin universal for WordPress plugin directory distribution<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Display a colored notice in the WordPress admin bar to indicate which environment (Live, Staging, Local) your site is running on.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/319056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=319056"}],"author":[{"embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/grantb89"}],"wp:attachment":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=319056"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=319056"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=319056"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=319056"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=319056"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=319056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}