Unit Converter

This plugin detects units of measurement (e.g. “10 lbs”) and will add the metric or non-metric equivalent (e.g. “4.5 kilograms”). The converted measurement can be added in several ways:
- as a mouse-over, or
- in brackets after the original measurement, e.g. “10 lbs (4.5 kilograms)”.
It is useful if you use lots of measurements and are writing for an international audience.
Currently Supported Conversions
- Celsius Fahrenheit
- Centimetres inches
- Grams ounces
- Kilograms pounds
- Kilometres miles
- Kilojoules (food) calories
- Litres gallons
- Metres feet
- Millilitres fluid ounces
Note that these non-metric units are in US customary units.
Bugs
- Converted measurements will always be written in their canonical/long name, e.g. ‘kilograms’ instead of ‘kg’.
- Cannot handle quoted aliases (e.g. 5′ or 9″) or composite measurements, e.g. 5’9″.
To report any bugs please do so from the plugin homepage.
Plans
- An options page to configure various aspects of the plugin.
- Auto-detection for which measurement abbreviation to use for the converted unit (lbs -> kg, pounds -> kilograms).
- An option to use Imperial measurements as distinct from US customary units.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



