這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Show your plugin impact

外掛說明

syci is a WordPress plugin that allows you to add a carbon footprint badge to your website using a shortcode. The badge displays information about the carbon emissions associated with your website.

The plugin provides a simple and customizable way to promote sustainability and raise awareness about the environmental impact of websites.

Features

  • Display a carbon footprint badge on your website.
  • Customize the appearance of the badge using CSS.
  • Enable dark mode by adding the “darkmode” parameter to the shortcode.
  • Automatically enqueue the required JavaScript file when the shortcode is used.

Usage

To display the carbon footprint badge, use the [syci] shortcode in your WordPress content. The badge will be rendered wherever you place the shortcode.

Shortcode with default settings: [syci]

Shortcode with dark mode enabled: [syci darkmode=”true”]

安裝方式

  1. Upload the syci folder to the /wp-content/plugins/ directory or install the plugin from the WordPress Plugin Directory.
  2. Activate the “Carbon Badges” plugin through the ‘Plugins’ menu in WordPress.

常見問題集

Can I customize the appearance of the carbon footprint badge?

Yes, you can customize the badge’s appearance using CSS. The badge is wrapped in a

<

div> element with the class carbonbadge. You can target this class in your theme’s CSS file and apply your desired styles.

How can I enable dark mode for the badge?

To enable dark mode, add the darkmode="true" parameter to the shortcode. This will add the wcb-d class to the badge’s

<

div> element.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Show your plugin impact〉的開發相關工作。

參與者

將〈Show your plugin impact〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release.

1.0.1

  • Update bo and add trad FR