[WordPress] 外掛分享: Carbonbadge Block

首頁外掛目錄 › Carbonbadge Block
10+
安裝啟用
尚無評分
610 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.0+ v1.3.4 上架:2024-04-02

內容簡介

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>

<h2>總結:</h2>
<p>Website Carbon 外掛是一個使用互動API製作的Gutenberg區塊。此外掛可以幫助您檢查網站的碳足跡,並提供官方徽章來展示您的網站碳足跡。</p>

<h3>問題與答案:</h3>
<ul>
<li>
<h4>Website Carbon是什麼?</h4>
<p>Website Carbon是由Wholegrain digital推出的服務,旨在啟發和教育人們創建零碳排放的網絡。</p>
</li>

<li>
<h4>如何使用Website Carbon外掛?</h4>
<p>這個外掛在Gutenberg編輯器中新增了一個名為"Carbonbadge"的區塊,您可以將其添加到任何帖子或頁面上,顯示當前頁面的碳足跡。</p>
</li>

<li>
<h4>碳足跡是如何更新的?</h4>
<p>數據從Website Carbon API獲取,通過客戶端呼叫,並在每次加載頁面時更新。對具體頁面的結果在客戶端緩存24小時。</p>
</li>
</ul>

</body>
</html>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Carbonbadge Block」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Website Carbon widget Gutenberg block, made with the Interactivity API.
Yes, websites have a carbon footprint
Website Carbon is a service made by Wholegrain digital 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
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 and on the website FAQ page here
The privacy policy of the Website Carbon service can be found here
The Website Carbon service is provided by Wholegrain digital
The code on GitHub
You can find the code of this plugin on GitHub

延伸相關外掛

文章
Filter
Mastodon