跳到内容

Catalonec Unit Converter – Metric & Imperial

v1.0.1

catalonec · 2026年11月18日 上架

Show every measurement in both metric and imperial, and add an interactive unit converter to any post. Made for recipe, DIY, travel and fitness sites.

正在使用
10 以下
评分
暂无
累计下载
110
最近更新
2026年11月18日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

Half of your readers think in grams and Celsius, the other half in cups and Fahrenheit. Catalonec Unit Converter shows both.

Inline conversions with a shortcode

[unitflip value="350" from="F"] shows **350 °F (177 °C)**.

[unitflip value="2" from="cups" to="ml"] shows **2 cups (473.2 ml)**.

If you leave out to, Catalonec Unit Converter picks the usual metric or imperial counterpart (°F °C, lb kg, mi km, cups ml, and so on).

Interactive converter block

Add the “Unit Converter” block (or the [unitflip_converter category="temperature"] shortcode) and visitors can convert any value themselves. It works on phones, has a swap button and is keyboard and screen-reader friendly.

Categories

Length, weight, temperature, volume (including cups, tablespoons, teaspoons, fluid ounces, pints, quarts, US and UK gallons), area, speed, pressure, energy (calories and kilojoules), power, fuel economy (L/100 km, km/L, mpg) and data size.

Settings

Choose the number of decimals and the display style: 350 °F (177 °C), 350 °F / 177 °C, or only the converted value with the original on hover.

Lightweight and private

No external requests, no tracking, no cookies, no database tables. The script loads only on pages that contain a converter.

Catalonec Unit Converter Pro add-on

A separate, optional add-on is available that converts measurements already written in your posts automatically (no shortcodes needed), adds a metric/imperial switch for visitors, and converts cups of common baking ingredients to grams. Everything described above stays free in this plugin.

For developers

Filters: unit_flip_units (add categories or units), unit_flip_symbols, unit_flip_counterparts, unit_flip_category_labels.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums