Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
Prevent accidental edits by showing your current site environment.
This plugin is for developers and content managers working across multiple site environments, such as local, staging, and production. It adds a persistent, color-coded label to the admin bar that clearly identifies the current environment, reducing the risk of performing actions on the wrong site.
Environment Detection: The plugin automatically identifies the current environment by matching the site URL or using the built-in environment type function. This ensures the indicator is always accurate.
Customizable Colors: You can assign distinct colors to each environment type, making visual identification immediate and clear. Common setups use red for production to signal caution.
Role-Based Visibility: Access to the indicator can be controlled by user capability or specific user login lists. This keeps the information relevant to those who need it, like developers and editors.
Quick Environment Links: When hovering over the indicator, a menu appears with links to the other configured environments for the project. This allows for fast switching between sites.
Flexible Configuration: Settings for URLs and colors can be managed through a dedicated admin screen or via code using filters, supporting both manual setup and programmatic control for teams.