block by mrchrisadams a0c07b323d214a5f90596638ea495342

This is an example wordpress plugin to add carbon.txt headers into wordpress.

What’s this?

This is is an minimal wordpress plugin we would need to allow any WordPress site to link to a carbon.txt file we would need to set up linked domains to work with the Green Web Platform.

How would it need to work?

  1. Install this plugin
  2. Activate the plugin
  3. Set the location of the carbon.txt file (see the screenshot)
  4. Check your site with the green web linked domains checking process to register it.

How do we make the plugin available?

Users can upload the single in this gist aboove, but we’d likely want a nicer experience. Either we publish this plugin ourselves to WP.org, or work with an existing group on a related green webby plugin so they include it in their code base, making use of their exiting audience. Or we provide guidance on hosting providers how to include it in their default stack of already activated plugins.

wp-carbon-txt-header.php