This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



A fully customisable fundraising thermometer with PayPal and StayClassy integration and custom skin support.

Multiple thermometers can be configured and displayed separately on different pages or posts. Each thermometer supports individual customisation, targets, currencies and progress tracking.

Thermometers can be placed in sidebar widgets with custom headers, footers and CSS classes. A PayPal Donate button can also be configured for each Widget.

Choose from a number of pre-installed vertical and horizontal skins, or create your own and share it.

This plugin requires that the GD libraries are available within PHP.

If you wish the thermometer to have a transparent background then I suggest you still choose a background colour close to the actual background on which the thermometer will appear. This will ensure that the image blends in perfectly.


  • The Olimometer in a sidebar widget with default skin
  • The Red and Rounded skin in a widget with a header
  • The Horizontal Thin and Red skin
  • Olimometer settings page


Either install using the automatic WordPress plugin installation method, or do it manually:

  1. Upload all files to to the /wp-content/plugins/olimometer directory (create it if it doesn’t exist) within your WordPress Installation
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the settings to your personal requirements
  4. Place <?php echo show_olimometer(olimometer_id,olimometer_css);?> in your templates or [olimometer id=olimometer_id css_class=olimometer_css] in a post, where olimometer_id = the Olimometer’s id found on the settings page and olimometer_css = an optional string containing the name of the CSS class to apply to the image.


Can I display the progress / target / remaining values in a post or page?

Yup. Use one of these shortcodes, replacing 1 with the actual ID of your Olimometer.

  • Display the Amount Raised: [olimometer_progress id=1]
  • Display the Target: [olimometer_target id=1]
  • Display the amount remaining to hit Target: [olimometer_remaining id=1]
How do I add a PayPal Donate button?

Simply add the Olimometer as a Widget to your sidebar area, and enter your PayPal account’s email address in the relevant field on the widget’s configuration panel.
You can also customise the language and currency of the donation button.

The thermometer image won’t show (or shows up as a red cross)

You may not have the GD libraries installed as part of PHP, you’ll need to speak to your web server administrator

Can I apply my own CSS to the Olimometer image?

Yes! When you call the Olimometer, simply pass in the name of the CSS class you wish to use as a parameter.
For example, to use a class called align_right, use the following code:

<?php echo show_olimometer(1,'align_right');?> in your templates or [olimometer id=1 css_class="align_right"] in a post replacing 1 with the actual id of your Olimometer.
How do I change the thermometer image?

See: How do I create my own skin?

How do I create my own skin?

To create your own skins, follow these steps. Please note these steps have changed recently:

  • Create a folder within your WordPress structure /wp-content/uploads/olimometer
  • Create a folder within your WordPress structure /wp-content/uploads/olimometer/skins
  • Copy this file to /wp-content/uploads/olimometer/skins.xml
  • Edit the new skins.xml file and remove all but one of the ‘skin’ objects
  • Change the skin object’s skin_slug to something unique for your new custom skin
  • Create a folder at /wp-content/uploads/olimometer/skins/YOUR_NEW_SKIN_SLUG replacing YOUR_NEW_SKIN_SLUG with the actual skin_slug value in new skins.xml
  • Create yourself three new PNG image files, naming them according to that specified in the XML file. One image should contain the bottom of the thermometer (the bulb), the second should be the thermometer’s bar which should be drawn empty of mercury and the third is the top of the thermometer.
  • Save the three image files in the skin_slug folder you just created

Skins.xml file contains the skin definitions for all available Olimometer skins. The easiest way to create your own skin is to copy and paste an existing one changing the values as appropriate. You need to create an entire ‘skin’ object within the XML structure. Each sub-object within the skin object is explained below:

  • skin_name: The name of the skin as displayed in the drop-down list on the settings page
  • skin_slug: The name of a subfolder within the plugin’s skin folder in which you will store the thermometer images associated with this skin. Do not use spaces in the name.
  • bulb_file: The name of the PNG image file of the thermometer ‘bulb’ (bottom image)
  • bar_file: The name of the PNG image file of the thermometer ‘bar’. This should be empty of mercury.
  • top_file: The name of the PNG image file of the top of the thermometer.
  • bar_colour: A six character RGB hex value (e.g. white = ffffff) colour of the mercury bar
  • bar_pos: The number of pixels from the left (or top if horizontal) of the image at which the mercury bar will be drawn.
  • bar_width: The width of the mercury bar in pixels.
  • bar_end: The number of pixels from the top (or right if horizontal) of the image where the mercury bar will stop at 100%
  • text_pos: The number of pixels from the left of the image at which the text values are placed. Not used for horizontal skins but required so set to 0.
  • orientation: Can be either vertical (standard) or horizontal

For best results follow these tips:

  • Each image file should be of equal width (or height for horizontal skins).
  • The background of each image should be an identical solid colour to enable seamless placement and transparency.
  • Use a droplet tool or other suitable colour identifier to identify a suitable bar_colour value using the mercury colour in your bulb_file image.
  • Make sure the top_file image includes a copy of the bar_file underneath it, but cleaned of any marks or bars – see the built in skins for an example. This is to avoid a gap being left between the top image and the bar image at certain image heights.
  • All built-in skins have a slug-name starting with “oli-” so avoid using this prefix to prevent name conflicts.
  • Share your skins with me – contact me using the WordPress forums, tweet me @OliverShingler, or leave a comment on the Olimometer page:


There are no reviews for this plugin.

Contributors & Developers

“Olimometer” is open source software. The following people have contributed to this plugin.


Translate “Olimometer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fix for SQL injection vulnerability


  • Updated to work with WordPress 4.5 – please note that in some cases this update will break your existing Olimometers and they may need reconfiguring.


  • Class Constructor updated to comply with WordPress 4.3 again but done properly this time.


  • Class Constructor updated to comply with WordPress 4.3


  • Updated to comply with WordPress policies


  • WordPress 3.9 compatibility


  • Fixed missing argument error


  • Turned off Curl verbose logging – should stop server logs being filled up unnecessarily.


  • Adverts are now responsive (so they shouldn’t be more intrusive than necessary)


  • Very minor cosmetic tweaks.


  • Added three new shortcodes to display a formatted value for progress, target and remaining values. See the Olimometer settings page for a list of shortcodes.
  • You can now disable the Olimometer’s hyperlink if required.


  • Added support for StayClassy Events in addition to Projects


  • Added Swiss Francs (CHF) as a currency option


  • A couple of minor fixes and tidy-ups


  • Removed drop-shadows on some skins. Makes them look neater on transparent backgrounds.


  • PayPal Donate button can be added to a widget. Simply enter your PayPal email address in the relevant field on the Olimometer Widget configuration. You can also customise the language and currency of the donation button.


  • Added support for tracking fundraising totals


  • Added the ability to overlay a custom image over the top of the Olimometer. This feature can be found at the bottom of the Appearance and Layout section of the admin page.


  • Tidy up of code


  • You can now customise the image’s hyperlink
  • Fixed saving issue when trying to blank out certain values
  • Fixed bug preventing image display when upgrading to a version using currency formatting.


  • Fixed GD image output issue on some web servers (header and flush requirements)
  • Added kr as prefix/suffix option


  • Added some more number format options.


  • Values can be formatted, for example with decimal places and a comma to delimit thousands. See the Number Format option on the settings page.


  • Fixed bug causing image creation failure on some systems (literal path requirements)


  • Offline donations can now be tracked when using a PayPal integrated balance.
  • Fixed issue causing debug error message within PayPal integration code.


  • Custom skins will no longer be overwritten on upgrade from now on, BUT they will be overwritten when you install this version and you MUST change your custom skins to the new format.
  • Horizontal thermometers are now available
  • Fixed bug with deprecated functions in sidebar widget management
  • Reversed the order of the version history. Details of the latest version now appear at the top of the list.


  • Added role assignment for the dashboard widget – delegate updating the progress values to editors or any other available role.
  • Now remembers last viewed Olimometer on a per-user basis not per-installation within the admin pages.


  • Quick fix to stop some error notifications if running in debug mode


  • Multiple Olimometers now supported with independent progress tracking.
  • Added extra currency and suffix symbols (Yen, Cent, Pence, Lira, Pesetas, Degree).
  • Automatic width calculation of the thermometer image – no more manual guesswork.
  • Target values can now be enabled and disabled.
  • Shortcode is now [olimometer] to reduce confusion.
  • Colour picker installed to allow you to easily choose font and background colours.
  • Preview your Olimometers on the settings page.
  • Added ‘Our Progress’ styled thermometer skins in blue, red and green.


  • Multiple Olimometers now supported with independent progress tracking.
  • Added extra currency and suffix symbols (Yen, Cent, Pence, Lira, Pesetas, Degree)
  • Automatic width calculation of the thermometer image – no more manual guesswork
  • Target values can now be enabled and disabled
  • Shortcode is now [olimometer] to reduce confusion
  • Colour picker installed to allow you to easily choose font and background colours
  • Preview your Olimometers on the settings page
  • Added ‘Our Progress’ styled thermometer skins in blue, red and green.


  • Minor bug fix for PHP running on IIS
  • Re-jigged the widget layout to conform to latest WordPress standards. This removes the annoying dot in the widget that some people have noticed.
  • Widget settings are per widget now and no longer stored amongst the Olimometer settings
  • The CSS class for the Olimometer is now set via shortcode or function parameters. See the FAQ for details.
  • These changes are all in preparation of a rework to allow multiple Olimometers on a blog


  • Support for decimal places in displayed values. Olimometer now no longer rounds to the nearest whole number.
  • Prefix and suffix values can be selected from a drop-down list.


  • Fixed bug in Widget header and footer when using HTML. Characters now escape correctly.


  • Minor bug fix affecting the widget
  • Added Watermaster skin courtesy of
  • Widget now supports custom header and footer text or HTML


Made the PayPal integration code a bit more efficient. Fewer lookups to the PayPal API and reduced unnecessary database writes. This should speed up web page loading times when using the PayPal option as your progress value.


PayPal integration: Progress value can optionally be updated by retrieving the balance from a PayPal account. Tidied up administration page and finally it can now cope if the progress value exceeds the target value.


Disabled error logging on thermometer.php to prevent buildup of large error_log file due to direct access from crawlers without correct parameters.
Fixes a problem which prevents the Olimometer from displaying on a default PHP installation.
Automatically detects for the presence of the PHP GD extension upon which this plugin is dependent and displays a message on the admin page.


The show_olimometer shortcode now operates correctly fixing a bug which prevented the thermometer image from being displayed inline with the contents of a post or page.


Fixed overlapping image bug in the skins.


  • Added a dashboard widget on the admin interface. You can now quickly update your progress or target values on the dashboard directly.
  • SKINS! The thermometer image can now be customised using skins. See FAQ for current skinning guidelines.


Fixes a bug which caused progress values (total amount raised) of 9 or less to be displayed as 0.


I noticed that some people were using the Olimometer to track a percentage, so this version allows you to add a suffix (for example a % symbol) at the end of your values. Currencies are now also optional as a consequence.


Fixed default currency, now defaults to GBP – not a critical update at all if you already have it installed as this only affects new installations.


Fixed the overlapping text bug where the progress value would overlap with the target and starting values. Font size is also adjustable now and I’ve tidied up the thermometer image’s border too.


Thermometer now includes an optional transparent background


The initial release