{"id":5079,"date":"2009-03-19T10:28:41","date_gmt":"2009-03-19T10:28:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/unit-converter\/"},"modified":"2019-11-05T11:08:06","modified_gmt":"2019-11-05T11:08:06","slug":"unit-converter","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/unit-converter\/","author":2143282,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5.3","stable_tag":"0.5.3","tested":"5.2.24","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Unit Converter","header_author":"Michael Knight","header_description":"","assets_banners_color":"","last_updated":"2019-11-05 11:08:06","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=4076962","header_plugin_uri":"http:\/\/miknight.com\/projects\/unit-converter","header_author_uri":"http:\/\/miknight.com","rating":1,"author_block_rating":0,"active_installs":30,"downloads":4562,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.5.2","0.5.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[62767,16613,16612,38604,22279],"plugin_category":[],"plugin_contributors":[91298],"plugin_business_model":[],"class_list":["post-5079","plugin","type-plugin","status-publish","hentry","plugin_tags-customary","plugin_tags-imperial","plugin_tags-metric","plugin_tags-standard","plugin_tags-unit","plugin_contributors-miknight","plugin_committers-miknight"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/unit-converter.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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:<\/p>\n\n<ul>\n<li>as a mouse-over, or<\/li>\n<li>in brackets after the original measurement, e.g. \"10 lbs (4.5 kilograms)\".<\/li>\n<\/ul>\n\n<p>It is useful if you use lots of measurements and are writing for an international audience.<\/p>\n\n<h4>Currently Supported Conversions<\/h4>\n\n<ul>\n<li>Celsius  Fahrenheit<\/li>\n<li>Centimetres  inches<\/li>\n<li>Grams  ounces<\/li>\n<li>Kilograms  pounds<\/li>\n<li>Kilometres  miles<\/li>\n<li>Kilojoules  (food) calories<\/li>\n<li>Litres  gallons<\/li>\n<li>Metres  feet<\/li>\n<li>Millilitres  fluid ounces<\/li>\n<\/ul>\n\n<p>Note that these non-metric units are in <a href=\"http:\/\/en.wikipedia.org\/wiki\/United_States_customary_units\">US customary units<\/a>.<\/p>\n\n<h3>Bugs<\/h3>\n\n<ul>\n<li>Converted measurements will always be written in their canonical\/long name, e.g. 'kilograms' instead of 'kg'.<\/li>\n<li>Cannot handle quoted aliases (e.g. 5' or 9\") or composite measurements, e.g. 5'9\".<\/li>\n<\/ul>\n\n<p>To report any bugs please do so from the <a href=\"http:\/\/miknight.com\/projects\/unit-converter\/\" title=\"Visit the plugin home page\">plugin homepage<\/a>.<\/p>\n\n<h3>Plans<\/h3>\n\n<ul>\n<li>An options page to configure various aspects of the plugin.<\/li>\n<li>Auto-detection for which measurement abbreviation to use for the converted unit (lbs -&gt; kg, pounds -&gt; kilograms).<\/li>\n<li>An option to use Imperial measurements as distinct from US customary units.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>unit-converter\/<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory,<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>The mouseover method is the default. How do I use the parentheses?<\/dt>\n<dd><p>As there is no options page (yet), you will need to edit the <code>\/wp-content\/plugins\/unit-converter.php<\/code> file around line 31 and change:<\/p>\n\n<pre><code>$display_mode = 'mouseover';\n<\/code><\/pre>\n\n<p>to<\/p>\n\n<pre><code>$display_mode = 'parentheses';\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.5.3 - 2014-05-23<\/h4>\n\n<ul>\n<li>Bump version properly so WordPress picks it up.<\/li>\n<li>Tested up to WordPress 4.2.2.<\/li>\n<\/ul>\n\n<h4>0.5.2 - 2014-05-02<\/h4>\n\n<ul>\n<li>Fixed compatibility with PHP 5.4+.<\/li>\n<li>Tested up to WordPress 4.2.1.<\/li>\n<\/ul>\n\n<h4>0.5.1 - 2009-12-19<\/h4>\n\n<ul>\n<li>Tested up to WordPress 2.9.<\/li>\n<\/ul>\n\n<h4>0.5 - 2009-07-26<\/h4>\n\n<ul>\n<li>Added Celsius  Fahrenheit converter.<\/li>\n<li>Tested up to WordPress 2.8.2.<\/li>\n<\/ul>\n\n<h4>0.4 - 2009-06-12<\/h4>\n\n<ul>\n<li>Added millilitre  fluid ounce converter.<\/li>\n<li>Tested up to WordPress 2.8.<\/li>\n<\/ul>\n\n<h4>0.3 - 2009-03-24<\/h4>\n\n<ul>\n<li>Fixed the kilojoule  calorie converter (was using calories instead of food calories).<\/li>\n<li>Added grams  ounces converter.<\/li>\n<li>Increased the precision of all conversions.<\/li>\n<\/ul>\n\n<h4>0.2 - 2009-03-22<\/h4>\n\n<ul>\n<li>Added kilojoule  calorie converter.<\/li>\n<li>Now require the match text to be case sensitive (e.g. 2L or 5kg only, not 2l or 5KG).<\/li>\n<\/ul>\n\n<h4>0.1 - 2009-03-19<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"Detects units of measurement in your blog text and automatically displays the metric or US customary equivalent in one of several possible ways.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5079"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/miknight"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5079"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5079"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5079"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5079"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5079"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}