Unit Converter
v0.5.3miknight · 2009年3月19日 上架
Detects units of measurement in your blog text and automatically displays the metric or US customary equivalent in one of several possible ways.
- 正在使用
- 20+
- 评分
- 1.0 / 5
- 累计下载
- 4,906
- 最近更新
- 2019年11月5日
1 条评价需要 WordPress 2.7+已测试到 5.2.31
贡献者
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.