跳到内容

Carbonfooter

v0.22.0

pixeltoplanet · 2025年11月5日 上架

Measure and display your website's carbon footprint with accurate emissions data from carbonfooter.nl.

正在使用
10+
评分
暂无
累计下载
807
最近更新
2026年11月17日
需要 WordPress 6.6+已测试到 7.1.5PHP 8.0+

Carbonfooter helps you understand and showcase the carbon emissions of your website. The plugin automatically measures the carbon footprint of your pages and provides easy-to-use shortcodes to display this information to your visitors.

Important Note: This plugin uses the carbonfooter.nl API service to calculate emissions data. By installing and activating this plugin, you agree to share your website URLs with this service for analysis. See the Privacy and External services sections below for more details.

Features

  • Automatic emissions measurement for all posts and pages
  • Background processing to avoid impacting site performance
  • Automatic refresh of emissions data (weekly by default)
  • One shortcode for display: [carbonfooter] (choose the visual style in Settings Appearance Widget style: minimal, sticker, or full)
  • Native Gutenberg block support (FSE-compatible): 9 blocks available in the “Carbonfooter” block category
  • Block patterns for footers and stats layouts
  • Block Bindings: show Carbonfooter values in regular paragraphs, headings and buttons
  • “Carbonfooter” panel in the block editor sidebar with the page’s numbers and a “Measure now” button
  • Site Health checks for data collection, background measurements and API connectivity
  • Post/page columns showing emissions in admin
  • Optional green hosting detection
  • Multilingual support (English and Dutch)

Usage

Use the single shortcode to render the widget. The visual style is selected in Settings.

`

[carbonfooter]
`

  • Style selection: Choose between “minimal”, “sticker”, or “full” in Carbonfooter Settings Appearance Widget style. The shortcode does not take attributes; a site-wide style is applied.
  • Automatic insertion: In Settings, set Display to “Auto” to automatically inject the widget into the site footer on the frontend. Set to “Shortcode” to only render where the shortcode is used.

Gutenberg Blocks

The plugin registers 9 native Gutenberg blocks under the “Carbonfooter” category, compatible with Full Site Editing (FSE) themes. All blocks use server-side rendering so data is always fresh.

  • carbonfooter/minimal: A lightweight single-line carbon emissions widget.
  • carbonfooter/sticker: A compact badge-style carbon emissions sticker.
  • carbonfooter/full: A composable container block for building custom carbon emissions layouts using the stat blocks below.
  • carbonfooter/emissions: Displays CO₂ emissions per visit for the current page.
  • carbonfooter/trees: Displays trees needed to offset annual emissions for the current page.
  • carbonfooter/driving: Displays equivalent driving distance from annual emissions for the current page.
  • carbonfooter/pageweight: Displays the page weight (transfer size) for the current page.
  • carbonfooter/green-hosting: Displays whether the site uses green energy hosting.
  • carbonfooter/label: A minimal inline carbon emissions label.

All blocks support color, spacing, border-radius, and typography controls via the block editor sidebar. Find them by searching “Carbonfooter” in the block inserter.

Block patterns

Open the inserter, go to Patterns and choose “Carbonfooter” for ready-made layouts: a footer bar, a full stats overview, a right-aligned sticker, and stats columns. The footer patterns are also suggested when you edit a footer template part in the Site Editor.

Block Bindings

The 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.

Privacy

This plugin connects to the Carbonfooter API (operated by the same developer/owner as this plugin) to calculate page-level emissions. The following data may be sent to carbonfooter.nl:

  • Page URL being analyzed
  • Site URL
  • Post ID
  • Plugin version
  • A timestamp

When is data sent:
* When you trigger a measurement in the WordPress admin
* When the plugin refreshes stale data in the background (via WP-Cron)
* When a single page view schedules a background refresh

No personal data is collected or stored by this plugin.

Opt-out controls:
* You can disable data collection at any time in Carbonfooter Settings Privacy (toggle “Data collection”).

Provider:
* Carbonfooter by Pixel to Planet
* Privacy Policy: https://carbonfooter.nl/privacy

Terms:
* Terms of Service for the Carbonfooter API are currently under preparation and will be linked here when available.

External services

This plugin connects to the Carbonfooter API (operated by the same developer/owner as this plugin) to calculate page-level emissions.

What is sent and when:
– Page URL being analyzed
– Site URL, post ID, plugin version, timestamp
– Sent when you trigger a measurement in admin (including “Measure now” in the block editor), when the plugin refreshes stale data in the background, or when a single page view schedules a background refresh.
– The Site Health check sends a single HEAD request to https://carbonfooter.nl/ (no page or site data) to test connectivity. It is skipped when data collection is disabled.

Provider: Carbonfooter (Pixel to Planet)
– Privacy Policy: https://carbonfooter.nl/privacy
– Terms of Service: currently under preparation

Terms of Service

The Carbonfooter API used by this plugin is operated by the same developer/owner as this plugin (Pixel to Planet / carbonfooter.nl). By using this plugin, you agree that the URLs being tested are sent to the external Carbonfooter API for analysis. Terms of Service are currently under preparation. Privacy Policy: https://carbonfooter.nl/privacy

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums