Title: Carbonbadge Block
Author: Eneko Garrido
Published: <strong>2024年4月3日</strong>
Last modified: 2024年7月17日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/carbonbadge-block/assets/icon-256x256.png?rev=3109428)

# Carbonbadge Block

 作者: [Eneko Garrido](https://profiles.wordpress.org/garridinsi/)

[ダウンロード](https://downloads.wordpress.org/plugin/carbonbadge-block.1.3.4.zip)

[ライブプレビュー](https://ja.wordpress.org/plugins/carbonbadge-block/?preview=1)

 * [詳細](https://ja.wordpress.org/plugins/carbonbadge-block/#description)
 * [レビュー](https://ja.wordpress.org/plugins/carbonbadge-block/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/carbonbadge-block/#installation)
 * [開発](https://ja.wordpress.org/plugins/carbonbadge-block/#developers)

 [サポート](https://wordpress.org/support/plugin/carbonbadge-block/)

## 説明

The Website Carbon widget Gutenberg block, made with the Interactivity API.

### Yes, websites have a carbon footprint

[Website Carbon](https://www.websitecarbon.com) is a service made by [Wholegrain digital](https://wholegraindigital.com/)
to help inspire and educate people to create a zero carbon internet. Provides an
easy way to check the carbon footprint of your website.

They provide a official badge to put on your website, and with this plugin, you 
can have that badge as a reactive Gutenberg block, thanks to the new [Interactivity API](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-interactivity/)

### How it works

This plugin adds a new block to the Gutenberg editor, called “Carbonbadge”. You 
can add it to any post or page, and it will show the carbon footprint of the current
page.
 The block will render a badge with the carbon footprint of the current page,
and a link to the Website Carbon website. The data is fetched from the Website Carbon
API, with a client side call, and it’s updated every time the page is loaded. The
result for a concrete page is cached for 24 hours, client side. More information
on the Website Carbon badge can be found [here](https://www.websitecarbon.com/badge/)
and on the website FAQ page [here](https://www.websitecarbon.com/faq/) The privacy
policy of the Website Carbon service can be found [here](https://www.websitecarbon.com/privacy-policy/)
The Website Carbon service is provided by [Wholegrain digital](https://www.wholegraindigital.com)

### The code on GitHub

You can find the code of this plugin on [GitHub](https://github.com/garridinsi/carbonbadge-block)

## ブロック

このプラグインは1個のブロックを提供します。

 *   Carbonbadge Block to display your website's carbon footprint using the Carbonbadge
   API.

## インストール

 1. Upload the plugin files to the `/wp-content/plugins/carbonbadge-block` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the \’Plugins\’ screen in WordPress.
 3. Place the block on any Gutenberg post or page.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Carbonbadge Block はオープンソースソフトウェアです。以下の人々がこのプラグインに
貢献しています。

貢献者

 *   [ Eneko Garrido ](https://profiles.wordpress.org/garridinsi/)

“Carbonbadge Block” は4ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/carbonbadge-block/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“Carbonbadge Block” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/carbonbadge-block)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/carbonbadge-block/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/carbonbadge-block/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/carbonbadge-block/)を 
[RSS](https://plugins.trac.wordpress.org/log/carbonbadge-block/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.3.3

 * Update dependencies

#### 1.3.1

 * Fix tags on readme

#### 1.2.5

 * Add blueprint.json file

#### 1.2.4

 * Add blueprint.json file

#### 1.2.3

 * Remove Website Carbon text from i18n

#### 1.2.2

 * Fix a error with an action on the view

#### 1.2.1

 * Fix some issues with translations

#### 1.2.0

 * Add an option to hide the badge link
 * Add an option to choose the tested page link
 * Now the Website Carbon link points to the results of the tested page
 * Improve code documentation
 * Improve code structure and readability

#### 1.1.0

 * Improve localization
 * Improve code documentation
 * Optimize block rendering Interactivity logic
 * Update dependencies

#### 1.0.0

 * First stable release
 * Add block icon on the editor
 * Better code documentation

#### 0.1.4

 * Fix error when generating the plugin, currentPage var was taking the testing 
   page instead of the current page

#### 0.1.2

 * Fix localization issues
 * Improve in code documentation

#### 0.1.1

 * Change plugin name and slug to `carbonbadge-block`

#### 0.1.0

 * First release

## メタ

 *  バージョン **1.3.4**
 *  最終更新日 **2年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 6.5またはそれ以降 **
 *  検証済み最新バージョン: **6.6.11**
 *  PHP バージョン ** 7.0またはそれ以降 **
 *  言語
 * [Basque](https://eu.wordpress.org/plugins/carbonbadge-block/)、[Dutch](https://nl.wordpress.org/plugins/carbonbadge-block/)、
   [English (US)](https://wordpress.org/plugins/carbonbadge-block/)、[Spanish (Chile)](https://cl.wordpress.org/plugins/carbonbadge-block/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/carbonbadge-block/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/carbonbadge-block)
 * タグ
 * [block](https://ja.wordpress.org/plugins/tags/block/)[carbon](https://ja.wordpress.org/plugins/tags/carbon/)
   [gutenberg](https://ja.wordpress.org/plugins/tags/gutenberg/)[interactivity api](https://ja.wordpress.org/plugins/tags/interactivity-api/)
   [sustainability](https://ja.wordpress.org/plugins/tags/sustainability/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/carbonbadge-block/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/carbonbadge-block/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/carbonbadge-block/reviews/)

## 貢献者

 *   [ Eneko Garrido ](https://profiles.wordpress.org/garridinsi/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/carbonbadge-block/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://buymeacoffee.com/garridinsi)