{"id":219749,"date":"2025-02-02T15:45:26","date_gmt":"2025-02-02T15:45:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/website-carbon-calculator\/"},"modified":"2025-12-01T15:06:09","modified_gmt":"2025-12-01T15:06:09","slug":"website-carbon-calculator","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/website-carbon-calculator\/","author":23308890,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.8","stable_tag":"1.3.8","tested":"6.8.5","requires":"5.8","requires_php":"7.1","requires_plugins":null,"header_name":"Website Carbon Calculator","header_author":"Sustainable Web Dev","header_description":"Calculate the CO\u2082 impact of your web pages in real time, without API delays, directly from your WordPress admin panel.","assets_banners_color":"afc3ec","last_updated":"2025-12-01 15:06:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/sustainablewebdev\/wp-carbon-calculator","header_author_uri":"https:\/\/sustainablewebdev.org","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1468,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.1":{"tag":"1.2.1","author":"akhelastudio","date":"2025-02-02 15:45:14"},"1.2.2":{"tag":"1.2.2","author":"akhelastudio","date":"2025-02-02 16:53:46"},"1.3.0":{"tag":"1.3.0","author":"akhelastudio","date":"2025-02-05 19:19:05"},"1.3.1":{"tag":"1.3.1","author":"akhelastudio","date":"2025-02-05 19:19:05"},"1.3.2":{"tag":"1.3.2","author":"akhelastudio","date":"2025-02-07 10:54:51"},"1.3.3":{"tag":"1.3.3","author":"akhelastudio","date":"2025-02-17 11:28:24"},"1.3.4":{"tag":"1.3.4","author":"akhelastudio","date":"2025-02-19 07:32:14"},"1.3.5":{"tag":"1.3.5","author":"akhelastudio","date":"2025-02-28 16:23:29"},"1.3.6":{"tag":"1.3.6","author":"akhelastudio","date":"2025-06-05 13:38:58"},"1.3.7":{"tag":"1.3.7","author":"sustainablewebdev","date":"2025-12-01 15:06:09"},"1.3.8":{"tag":"1.3.8","author":"sustainablewebdev","date":"2025-12-01 15:06:09"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":3233477,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3235626,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3235626,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.1","1.2.2","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3235626,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3235626,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3235626,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3235626,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3235626,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3235626,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3235626,"resolution":"7","location":"assets","locale":""},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3235626,"resolution":"8","location":"assets","locale":""}},"screenshots":{"1":"Minimal Impact \u2013 This page has mostly text, resulting in a low CO\u2082 footprint.","2":"Higher Impact \u2013 Adding a YouTube video increases the page\u2019s CO\u2082 emissions.","3":"Advanced Data \u2013 View bytes transferred, boot-up time, and key performance metrics.","4":"Taxonomy Support \u2013 Analyze CO\u2082 impact directly on term pages.","5":"Instant Insights \u2013 See a page\u2019s CO\u2082 impact with green, orange, or red flags.","6":"Dashboard Widget \u2013 View average CO\u2082 impact and performance scores at a glance.","7":"Advanced Tools \u2013 Compute emissions for special pages with dedicated tools.","8":"Customizable Settings \u2013 Fine-tune calculations for accurate CO\u2082 impact analysis."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15834,178960,42496,247,155990],"plugin_category":[54],"plugin_contributors":[237765],"plugin_business_model":[],"class_list":["post-219749","plugin","type-plugin","status-publish","hentry","plugin_tags-carbon","plugin_tags-emissions","plugin_tags-measure","plugin_tags-performance","plugin_tags-sustainability","plugin_category-security-and-spam-protection","plugin_contributors-akhelastudio","plugin_committers-akhelastudio","plugin_committers-sustainablewebdev"],"banners":{"banner":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/banner-772x250.jpg?rev=3235626","banner_2x":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/banner-1544x500.jpg?rev=3235626","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/icon.svg?rev=3233477","icon":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/icon.svg?rev=3233477","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-1.png?rev=3235626","caption":"Minimal Impact \u2013 This page has mostly text, resulting in a low CO\u2082 footprint."},{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-2.png?rev=3235626","caption":"Higher Impact \u2013 Adding a YouTube video increases the page\u2019s CO\u2082 emissions."},{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-3.png?rev=3235626","caption":"Advanced Data \u2013 View bytes transferred, boot-up time, and key performance metrics."},{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-4.png?rev=3235626","caption":"Taxonomy Support \u2013 Analyze CO\u2082 impact directly on term pages."},{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-5.png?rev=3235626","caption":"Instant Insights \u2013 See a page\u2019s CO\u2082 impact with green, orange, or red flags."},{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-6.png?rev=3235626","caption":"Dashboard Widget \u2013 View average CO\u2082 impact and performance scores at a glance."},{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-7.png?rev=3235626","caption":"Advanced Tools \u2013 Compute emissions for special pages with dedicated tools."},{"src":"https:\/\/ps.w.org\/website-carbon-calculator\/assets\/screenshot-8.png?rev=3235626","caption":"Customizable Settings \u2013 Fine-tune calculations for accurate CO\u2082 impact analysis."}],"raw_content":"<!--section=description-->\n<blockquote>\n  <p>Try it out for free =&gt; <a href=\"https:\/\/tastewp.org\/plugins\/website-carbon-calculator?redirect=options-general.php%3Fpage=carbon-calculator-options&amp;ni=true\">https:\/\/tastewp.org\/plugins\/website-carbon-calculator<\/a><\/p>\n<\/blockquote>\n\n<p>The internet consumes a lot of electricity. 1021 TWh per year to be precise. To give you some perspective, that\u2019s more than the entire United Kingdom.<\/p>\n\n<p>From data centers to transmission networks to the billions of connected devices that we hold in our hands, it is all consuming electricity, and in turn producing carbon emissions equal to or greater than the global aviation industry. Yikes!<\/p>\n\n<p>The WordPress Carbon Calculator empowers website owners to assess and minimize their carbon footprint. Drawing inspiration from the acclaimed Website Carbon Calculator algorithm 2.0 and leveraging The Green Web Foundation's co2.js, this user-friendly tool allows you to calculate the CO\u2082 impact and performance of any page on your website directly from your WordPress admin panel.<\/p>\n\n<p>You can choose to activate it on selected post types and taxonomies, with full support for custom post types and custom taxonomies.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Precision Carbon Calculations:<\/strong> Built upon the Website Carbon Calculator algorithm 2.0 and powered by The Green Web Foundation's co2.js, delivering accurate CO\u2082 impact calculations with the latest environmental data.<\/li>\n<li><strong>Intuitive Interface:<\/strong> Offers a user-friendly interface within your WordPress admin area, simplifying access to environmental and performance data.<\/li>\n<li><strong>Front-End Presentation:<\/strong> Displays the computed CO\u2082 impact or the Google Page Speed Performance score on your website's front end, engaging and educating your visitors.<\/li>\n<li><strong>Data from Google Page Speed:<\/strong> Utilizes Google Page Speed to gather loaded data, providing comprehensive performance metrics for informed decisions.<\/li>\n<\/ul>\n\n<h3>Roadmap<\/h3>\n\n<ul>\n<li>Translations<\/li>\n<li>WebPageTest, GTmetrix and Yellow Lab Tools support<\/li>\n<li>Ecoindex.fr algorithm support<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/website-carbon-calculator<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Navigate to the plugin settings to configure and start analyzing your website's carbon footprint.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20the%20plugin%20calculate%20the%20co%E2%82%82%20impact%3F'><h3>How does the plugin calculate the CO\u2082 impact?<\/h3><\/dt>\n<dd><p>The plugin uses the Website Carbon Calculator algorithm 2.0 and The Green Web Foundation's co2.js to provide accurate CO\u2082 impact calculations based on the latest environmental data.<\/p><\/dd>\n<dt id='can%20i%20display%20the%20co%E2%82%82%20impact%20on%20my%20website%27s%20front%20end%3F'><h3>Can I display the CO\u2082 impact on my website's front end?<\/h3><\/dt>\n<dd><p>Yes, the plugin allows you to showcase the computed CO\u2082 impact prominently on your website's front end to engage and educate your visitors.<\/p>\n\n<p>You can use the following PHP snippet on any page to display the CO\u2082 impact:<\/p>\n\n<pre><code>&lt;?php if($calculated_carbon = get_calculated_carbon() ): ?&gt;\nThis page emits &lt;?=round($calculated_carbon,2)?&gt;g eq. CO\u2082\n&lt;?php endif; ?&gt;\n<\/code><\/pre>\n\n<p>This will output the calculated CO\u2082 emissions in grams.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.7<\/h4>\n\n<ul>\n<li>Update Guzzle to 7.1<\/li>\n<\/ul>\n\n<h4>1.3.6<\/h4>\n\n<ul>\n<li>Update vendors<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>Fix DivisionByZeroError on dashboard thanks to @ryansholin<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Tools are now available to editors<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Post type archive calculation was buggy<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Fix migration<\/li>\n<li>Minor css bugfix<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Disable debug<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Display Google Page Speed Score<\/li>\n<li>Dashboard widget<\/li>\n<li>Better UI<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Better readme.txt and screenshots<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Initial release of the WordPress Carbon Calculator plugin on WordPress.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release of the WordPress Carbon Calculator plugin.<\/li>\n<\/ul>","raw_excerpt":"Effortlessly calculate any page\u2019s impact and performance, with real-time results and no reliance on the Website Carbon API, ensuring instant updates.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/219749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=219749"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sustainablewebdev"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=219749"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=219749"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=219749"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=219749"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=219749"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=219749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}