{"id":405756,"date":"2026-11-18T09:18:52","date_gmt":"2026-11-18T09:18:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/unit-flip-metric-imperial-converter\/"},"modified":"2026-11-18T09:18:24","modified_gmt":"2026-11-18T09:18:24","slug":"catalonec-unit-converter","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/catalonec-unit-converter\/","author":23606401,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Catalonec Unit Converter \u2013 Metric & Imperial","header_author":"catalonec","header_description":"Show measurements in both metric and imperial with a shortcode, and add an interactive unit converter block for recipes, DIY guides and travel posts.","last_updated":"2026-11-18 09:18:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/catalonec1.github.io\/pwa-utils\/catalonec-unit-converter\/","header_author_uri":"https:\/\/catalonec1.github.io\/pwa-utils\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":43,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"catalonec","date":"2026-11-18 09:18:24","revision":3808913}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3808913,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3808913,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3808913,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3808913,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"unit-flip\/converter":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"unit-flip\/converter","title":"Unit Converter","category":"widgets","icon":"image-flip-horizontal","description":"An interactive metric\/imperial unit converter.","keywords":["units","metric","imperial","convert"],"textdomain":"catalonec-unit-converter","attributes":{"category":{"type":"string","default":"length"}},"supports":{"html":false,"align":["wide"],"spacing":{"margin":true,"padding":true}},"editorScript":"unit-flip-block-editor","style":"catalonec-unit-converter","viewScript":"unit-flip-converter"}},"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[984,16613,16612,6342,19417],"plugin_category":[55],"plugin_contributors":[293572],"plugin_business_model":[],"class_list":["post-405756","plugin","type-plugin","status-publish","hentry","plugin_tags-conversion","plugin_tags-imperial","plugin_tags-metric","plugin_tags-recipe","plugin_tags-unit-converter","plugin_category-seo-and-marketing","plugin_contributors-catalonec","plugin_committers-catalonec"],"banners":{"banner":"https:\/\/ps.w.org\/catalonec-unit-converter\/assets\/banner-772x250.png?rev=3808913","banner_2x":"https:\/\/ps.w.org\/catalonec-unit-converter\/assets\/banner-1544x500.png?rev=3808913","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/catalonec-unit-converter\/assets\/icon-128x128.png?rev=3808913","icon_2x":"https:\/\/ps.w.org\/catalonec-unit-converter\/assets\/icon-256x256.png?rev=3808913","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Half of your readers think in grams and Celsius, the other half in cups and Fahrenheit. Catalonec Unit Converter shows both.<\/p>\n\n<p><strong>Inline conversions with a shortcode<\/strong><\/p>\n\n<pre><code>[unitflip value=\"350\" from=\"F\"] shows **350 \u00b0F (177 \u00b0C)**.\n\n[unitflip value=\"2\" from=\"cups\" to=\"ml\"] shows **2 cups (473.2 ml)**.\n<\/code><\/pre>\n\n<p>If you leave out <code>to<\/code>, Catalonec Unit Converter picks the usual metric or imperial counterpart (\u00b0F \u2192 \u00b0C, lb \u2192 kg, mi \u2192 km, cups \u2192 ml, and so on).<\/p>\n\n<p><strong>Interactive converter block<\/strong><\/p>\n\n<p>Add the \"Unit Converter\" block (or the <code>[unitflip_converter category=\"temperature\"]<\/code> shortcode) and visitors can convert any value themselves. It works on phones, has a swap button and is keyboard and screen-reader friendly.<\/p>\n\n<p><strong>Categories<\/strong><\/p>\n\n<p>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.<\/p>\n\n<p><strong>Settings<\/strong><\/p>\n\n<p>Choose the number of decimals and the display style: <code>350 \u00b0F (177 \u00b0C)<\/code>, <code>350 \u00b0F \/ 177 \u00b0C<\/code>, or only the converted value with the original on hover.<\/p>\n\n<p><strong>Lightweight and private<\/strong><\/p>\n\n<p>No external requests, no tracking, no cookies, no database tables. The script loads only on pages that contain a converter.<\/p>\n\n<p><strong>Catalonec Unit Converter Pro add-on<\/strong><\/p>\n\n<p>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.<\/p>\n\n<p><strong>For developers<\/strong><\/p>\n\n<p>Filters: <code>unit_flip_units<\/code> (add categories or units), <code>unit_flip_symbols<\/code>, <code>unit_flip_counterparts<\/code>, <code>unit_flip_category_labels<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from Plugins \u2192 Add New, or upload the <code>catalonec-unit-converter<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate it.<\/li>\n<li>Use the <code>[unitflip]<\/code> shortcode in your text or add the \"Unit Converter\" block. Options are in Settings \u2192 Catalonec Unit Converter.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"which%20unit%20names%20can%20i%20use%3F\"><h3>Which unit names can I use?<\/h3><\/dt>\n<dd><p>Short keys like <code>F<\/code>, <code>C<\/code>, <code>kg<\/code>, <code>lb<\/code>, <code>oz<\/code>, <code>cup<\/code>, <code>tbsp<\/code>, <code>tsp<\/code>, <code>ml<\/code>, <code>l<\/code>, <code>mi<\/code>, <code>km<\/code>, <code>ft<\/code>, <code>m<\/code>, <code>in<\/code>, <code>cm<\/code>, <code>mph<\/code>, <code>kmh<\/code>, <code>psi<\/code>, <code>bar<\/code>, <code>kcal<\/code>, <code>kJ<\/code>, <code>mpg<\/code>, <code>l100<\/code>, plus common spellings such as <code>fahrenheit<\/code>, <code>pounds<\/code>, <code>cups<\/code> or <code>km\/h<\/code>.<\/p><\/dd>\n<dt id=\"what%20happens%20with%20a%20typo%20in%20the%20shortcode%3F\"><h3>What happens with a typo in the shortcode?<\/h3><\/dt>\n<dd><p>The original text is shown unchanged, so your post still reads correctly.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20comma%20as%20the%20decimal%20separator%3F\"><h3>Can I use a comma as the decimal separator?<\/h3><\/dt>\n<dd><p>Yes. <code>value=\"1,5\"<\/code> works, and results follow your site's number format.<\/p><\/dd>\n<dt id=\"does%20it%20convert%20cups%20of%20flour%20to%20grams%3F\"><h3>Does it convert cups of flour to grams?<\/h3><\/dt>\n<dd><p>Cups to grams depends on the ingredient, so this plugin converts volume to volume (cups to ml). Ingredient-aware conversion is part of the Pro add-on.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Renamed to Catalonec Unit Converter (new slug and text domain).<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/405756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=405756"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/catalonec"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=405756"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=405756"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=405756"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=405756"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=405756"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=405756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}