- Extract & upload the carbon-footprint folder to your ‘/wp-content/plugins/’ directory.
- Activate the plugin via the Plugins menu in WordPress.
-
Navigate to Design -> Theme Editor -> Sidebar.php (or whichever page you like) and insert this code wherever you want your top referrers displayed:
<?php carbonfootprint_display_footprint(); ?>
Thats it! Your carbon footprint details should show up wherever you pasted the code. The sidebar is a good place because it’s on every page. You can specify the detail to print out by calling carbonfootprint_display_footprint('Small'); carbonfootprint_display_footprint('Medium'); carbonfootprint_display_footprint('Large'); or carbonfootprint_display_footprint('Extended');
which will also show some information about how the figures are worked out.
Small will display something like this: 42.4g
While Medium will display something like this: Words: 12323 (18.9g) Images: 2 (0.70g) Pages: 19.6 Carbon: 0.15g
And Large will display a table like this: Count Pages Carbon Words 12323 19.4 0.15g Images 2 0.71 0.01g Total 20.11 0.16g
Reviews
0 out of 5 stars
- Version: 1.1
- Last updated: 15 years ago
- Active installations: 10
- WordPress version: 2.2
- Tested up to: 2.6.3
- PHP version: false