forked from Carbonbadge Block™
EcoMark Guard is not affiliated with Carbonbadge Block. The name and any related trademarks are used solely for nominative descriptive purposes.
This plugin adds a block to the editor that displays the carbon footprint of a web page, using data from the Website Carbon service. It's designed for developers and site owners who want to highlight environmental impact directly on their content.
Carbon footprint display: Shows estimated carbon emissions for the current page, fetched from the Website Carbon API, with results updated on each page load.
Client-side caching: Caches API results locally for 24 hours to reduce server requests and improve loading times.
Interactivity API integration: Built with the Interactivity API for efficient, reactive updates that don't require full page reloads.
Customization options: Includes settings to hide badge links or choose which page to test, allowing flexibility in how the badge appears.
Easy installation: Can be uploaded via the plugin directory or manually, with simple activation and placement in any post or page using the editor.