| 开发者 |
pixeltoplanet
dannymoons dumithrathnayaka |
|---|---|
| 更新时间 | 2026年11月17日 20:33 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[carbonfooter] (choose the visual style in Settings → Appearance → Widget style: minimal, sticker, or full)[carbonfooter]
carbonfooter/stats bindings source lets any block that supports bindings (paragraph, heading, button) show a Carbonfooter value, so it follows your theme's typography. In the block's Attributes panel, connect the content to "Carbonfooter" and pick a field, or use markup:
<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"carbonfooter/stats","args":{"key":"emissions"}}}}} --><p></p><!-- /wp:paragraph -->
Available keys: emissions, page_size, trees, driving, green_hosting, last_measured.
Editor sidebar
When editing a published post or page, the "Carbonfooter" panel in the document sidebar shows its emissions, page weight, trees and driving equivalents and when it was last measured. Use "Measure now" to refresh the numbers straight away.
Site Health
Tools → Site Health shows whether data collection is on, whether background measurements are stuck in WP-Cron, and whether your server can reach carbonfooter.nl. The Info tab has a Carbonfooter section with useful details for support requests.
carbonfooter folder to the /wp-content/plugins/ directoryCalculations are based on multiple factors including page size, server location, and hosting type. The methodology follows industry standards for digital carbon footprint calculation.
By default, emissions data is refreshed automatically. You can manually trigger updates or adjust display behavior in settings.
No, the emissions calculations require analysis through the carbonfooter.nl service. If you prefer not to share URLs, this plugin may not be suitable for your needs.
Yes, the plugin is GDPR compliant. It does not collect or store any personal data. All data collection can be disabled in the settings.
carbonfooter/stats to show emissions, page weight, trees, driving distance, green hosting or last measured date in core blocks.carbonfooter/v1/posts/<id>/stats and carbonfooter/v1/posts/<id>/measure (require edit access to the post).CarbonfooterPlugin and improved autoloader