
內容簡介
總結:
syci是一個WordPress外掛,可以使用shortcode將碳足跡徽章添加到您的網站上。該徽章顯示與您的網站相關的碳排放信息。這個外掛提供了一種簡單且可自訂的方式來促進可持續發展,提高人們對網站環境影響的意識。
問題與答案:
問題: syci是什麼?
答案: syci是一個WordPress外掛,可以在您的網站上添加碳足跡徽章。
問題: syci外掛的功能有哪些?
答案: syci外掛的功能包括在網站上顯示碳足跡徽章,使用CSS自訂徽章的外觀,通過在shortcode中添加"darkmode"參數啟用暗模式,以及在使用shortcode時自動加載所需的JavaScript文件。
問題: 如何使用syci外掛來顯示碳足跡徽章?
答案: 在WordPress內容中使用[syci] shortcode來顯示碳足跡徽章。徽章將會在您放置該shortcode的位置上呈現。
問題: 如何使用默認設置的shortcode顯示碳足跡徽章?
答案: 使用 [syci] shortcode 即可使用默認設置顯示碳足跡徽章。
問題: 如何使用啟用暗模式的shortcode顯示碳足跡徽章?
答案: 使用 [syci darkmode="true"] shortcode 可以啟用暗模式來顯示碳足跡徽章。
外掛標籤
開發者團隊
原文外掛簡介
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”]
