plugin-icon

WordPress Carbon Footprint

Carbon Footprint for WordPress
Рейтинги
Последние изменения
November 1, 2008
Версия
1.1
Активные установки
10
  1. Extract & upload the carbon-footprint folder to your ‘/wp-content/plugins/’ directory.
  2. Activate the plugin via the Plugins menu in WordPress.
  3. 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

Активные установки
10
Проверено на
2.6.3
Этот плагин можно скачать и использовать при автономной установке WordPress.