Title: Carbonbadge Block
Author: Eneko Garrido
Published: <strong>03.04.2024</strong>
Last modified: 17.07.2024

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями 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://ru.wordpress.org/plugins/carbonbadge-block/?preview=1)

 * [Детали](https://ru.wordpress.org/plugins/carbonbadge-block/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/carbonbadge-block/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/carbonbadge-block/#installation)
 * [Разработка](https://ru.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://ru.wordpress.org/plugins/tags/block/)[carbon](https://ru.wordpress.org/plugins/tags/carbon/)
   [gutenberg](https://ru.wordpress.org/plugins/tags/gutenberg/)[interactivity api](https://ru.wordpress.org/plugins/tags/interactivity-api/)
   [sustainability](https://ru.wordpress.org/plugins/tags/sustainability/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/carbonbadge-block/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](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)