| 开发者 |
nahuai
greenwebfoundation timcowlishaw hanopcan |
|---|---|
| 更新时间 | 2026年11月12日 18:49 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
carbon.txt is a single, recognisable place on your website, at
https://your-site.com/carbon.txt, where anyone can find out what your
organisation publishes about its own environmental impact.
This plugin builds that file for you. You describe your disclosures (the
public documents where you report your sustainability data) and the plugin
turns them into a valid carbon.txt, served straight from your site.
What you can do with it:
carbon.txt already exists on
your server, the plugin can read it and offer to import what it finds./wp-content/plugins/carbon-txt/, or install the
zip from Plugins > Add New > Upload Plugin in your dashboard.carbon.txt is now live at
https://your-site.com/carbon.txt.No. The file is generated when a visitor requests it, and served from your site root. There is nothing to upload and nothing to clean up.
Usually one of three things. A carbon.txt file already sitting on your
server is being served directly, a carbon-txt-location DNS record is
delegating discovery elsewhere, or you are on a local or staging domain
that isn't publicly reachable. The settings screen warns you about the
first two.
They are removed with it. Deactivating keeps them, and you can copy or download your file from the settings screen at any time.
carbon-txt slug and text domain, as required for WordPress.org hosting.load_plugin_textdomain() call; WordPress loads translations automatically. Translations are served through translate.wordpress.org and are no longer shipped in the plugin package.carbon.txt at the public document root instead of the WordPress install path, so the check also works on sites installed in a subdirectory. Other layouts can override the detected root with the wp_carbon_txt_public_root filter.domain field to disclosures./carbon.txt so the file isn't redirected away from its expected path./.well-known/carbon.txt) for an existing file, with the same import and cleanup tools already offered for the domain root.carbon-txt-location DNS TXT delegation record on your domain and warn that it takes priority over this plugin's output.