{"id":19960,"date":"2012-09-19T04:19:24","date_gmt":"2012-09-19T04:19:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/global-body-mass-index-calculator\/"},"modified":"2026-06-10T13:12:04","modified_gmt":"2026-06-10T13:12:04","slug":"global-body-mass-index-calculator","status":"publish","type":"plugin","link":"https:\/\/pcm.wordpress.org\/plugins\/global-body-mass-index-calculator\/","author":414194,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3","stable_tag":"1.3","tested":"7.0.2","requires":"5.7","requires_php":"7.2","requires_plugins":null,"header_name":"Global Body Mass Index Calculator","header_author":"helpstring","header_description":"","assets_banners_color":"73a1c2","last_updated":"2026-06-10 13:12:04","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.ostheimer.at\/global-body-mass-index-calculator-wordpress-plugin\/","header_author_uri":"https:\/\/www.ostheimer.at\/","rating":3,"author_block_rating":0,"active_installs":30,"downloads":6910,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.5.0":{"tag":"1.0.5.0","author":"helpstring","date":"2012-09-19 04:32:10"},"1.0.6.0":{"tag":"1.0.6.0","author":"helpstring","date":"2013-01-17 10:40:39"},"1.0.7.0":{"tag":"1.0.7.0","author":"helpstring","date":"2013-01-24 09:39:38"},"1.0.8.0":{"tag":"1.0.8.0","author":"helpstring","date":"2013-01-24 13:56:48"},"1.1":{"tag":"1.1","author":"helpstring","date":"2019-02-21 13:58:56"},"1.2":{"tag":"1.2","author":"helpstring","date":"2019-04-15 20:54:31"},"1.3":{"tag":"1.3","author":"helpstring","date":"2026-06-10 13:12:04"}},"upgrade_notice":{"1.3":"<p>Security release: fixes a stored XSS vulnerability (CVE-2026-8883), fixes the child weight-status categories, and modernises the UI. All users should update.<\/p>"},"ratings":{"1":"1","2":0,"3":"1","4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3567508,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3567508,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3567508,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3567508,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3567508,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.5.0","1.0.6.0","1.0.7.0","1.0.8.0","1.1","1.2","1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3567508,"resolution":"1","location":"assets","locale":"","width":380,"height":429},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3567508,"resolution":"2","location":"assets","locale":"","width":380,"height":572},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3567508,"resolution":"3","location":"assets","locale":"","width":320,"height":449},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3567508,"resolution":"4","location":"assets","locale":"","width":898,"height":813},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3567508,"resolution":"5","location":"assets","locale":"","width":380,"height":429}},"screenshots":{"1":"Adult calculator with a result, on the front end.","2":"The child calculator tab.","3":"The calculator on a narrow (mobile) screen.","4":"The settings page: mode, size and colours.","5":"The calculator in German \u2014 one of the 24 bundled EU languages."}},"plugin_section":[],"plugin_tags":[11113,11114,716,6165,1508],"plugin_category":[59],"plugin_contributors":[88021],"plugin_business_model":[],"class_list":["post-19960","plugin","type-plugin","status-publish","hentry","plugin_tags-bmi","plugin_tags-body-mass-index","plugin_tags-calculator","plugin_tags-fitness","plugin_tags-health","plugin_category-utilities-and-tools","plugin_contributors-helpstring","plugin_committers-helpstring"],"banners":{"banner":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/banner-772x250.png?rev=3567508","banner_2x":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/banner-1544x500.png?rev=3567508","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/icon.svg?rev=3567508","icon":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/icon.svg?rev=3567508","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/screenshot-1.png?rev=3567508","caption":"Adult calculator with a result, on the front end."},{"src":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/screenshot-2.png?rev=3567508","caption":"The child calculator tab."},{"src":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/screenshot-3.png?rev=3567508","caption":"The calculator on a narrow (mobile) screen."},{"src":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/screenshot-4.png?rev=3567508","caption":"The settings page: mode, size and colours."},{"src":"https:\/\/ps.w.org\/global-body-mass-index-calculator\/assets\/screenshot-5.png?rev=3567508","caption":"The calculator in German \u2014 one of the 24 bundled EU languages."}],"raw_content":"<!--section=description-->\n<p>Global Body Mass Index Calculator adds a clean, responsive Body Mass Index calculator to your WordPress site. Visitors can work out the BMI for an adult or a child, switch between imperial and metric units, and see a clear, plain-language result \u2014 all without leaving your page.<\/p>\n\n<p>Drop it anywhere with the <code>[gbmicalc]<\/code> shortcode or the \"BMI Calculator\" widget\/block.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Separate calculators for adults and children, on two tabs.<\/li>\n<li>Imperial (feet, inches, pounds) or metric (centimetres, kilograms) units.<\/li>\n<li>Plain-language result with the weight-status category \u2014 and, for children, the BMI-for-age percentile.<\/li>\n<li>Colour-customisable (card, text, tabs and button) through the built-in WordPress colour picker, with an adjustable size.<\/li>\n<li>Responsive layout that adapts from desktop to mobile.<\/li>\n<li>Works both as a shortcode and as a widget\/block.<\/li>\n<li>Translation-ready, with bundled translations for the 24 official languages of the European Union.<\/li>\n<li>Accessible markup: labelled fields, results announced to screen readers, keyboard-friendly tabs.<\/li>\n<\/ul>\n\n<p><strong>How the categories are determined<\/strong><\/p>\n\n<ul>\n<li>Adults: the standard WHO BMI ranges (underweight, normal, overweight, obese).<\/li>\n<li>Children and teens (2\u201320 years): the BMI is interpreted against CDC BMI-for-age percentiles.<\/li>\n<\/ul>\n\n<p><strong>Disclaimer<\/strong><\/p>\n\n<p>This plugin is provided for general information only and is not medical advice. BMI is a screening tool, not a diagnosis, and it does not account for muscle mass, body composition, pregnancy or other factors. Always consult a qualified healthcare professional about your health.<\/p>\n\n<p><strong>Links<\/strong><\/p>\n\n<p><a href=\"https:\/\/www.ostheimer.at\/wordpress-plugins\/global-body-mass-index\/\">Demo<\/a> \u00b7 <a href=\"https:\/\/www.ostheimer.at\/leistungen-preise\/wordpress\/wordpress-plugins\/\">More plugins by Ostheimer<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from the Plugins screen in WordPress, or upload the <code>global-body-mass-index-calculator<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu.<\/li>\n<li>Add the <code>[gbmicalc]<\/code> shortcode to a post or page, or add the \"BMI Calculator\" widget\/block to a widget area.<\/li>\n<li>Optionally adjust the defaults under Settings \u2192 BMI Calculator.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20add%20the%20calculator%20to%20a%20page%3F\"><h3>How do I add the calculator to a page?<\/h3><\/dt>\n<dd><p>Insert the <code>[gbmicalc]<\/code> shortcode into any post or page, or add the \"BMI Calculator\" widget\/block to a widget area.<\/p><\/dd>\n<dt id=\"can%20i%20switch%20between%20imperial%20and%20metric%20units%3F\"><h3>Can I switch between imperial and metric units?<\/h3><\/dt>\n<dd><p>Yes. Choose Standard (feet, inches, pounds) or Metric (centimetres, kilograms) on the settings page, or per widget.<\/p><\/dd>\n<dt id=\"how%20accurate%20is%20the%20child%20calculator%3F\"><h3>How accurate is the child calculator?<\/h3><\/dt>\n<dd><p>For children and teens aged 2\u201320, the BMI is interpreted using the CDC BMI-for-age percentile method, which is the standard approach for that age group. It is a screening indicator, not a diagnosis.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20colours%20and%20size%3F\"><h3>Can I change the colours and size?<\/h3><\/dt>\n<dd><p>Yes. The settings page and each widget expose colour pickers (background gradient, text, button, and the active\/inactive tabs) and width\/height fields.<\/p><\/dd>\n<dt id=\"does%20it%20work%20in%20the%20block%20editor%20and%20block%20themes%3F\"><h3>Does it work in the block editor and block themes?<\/h3><\/dt>\n<dd><p>Yes. Use the shortcode in a Shortcode block, or add the widget through the block-based widgets screen. It has been tested with block themes.<\/p><\/dd>\n<dt id=\"is%20it%20available%20in%20my%20language%3F\"><h3>Is it available in my language?<\/h3><\/dt>\n<dd><p>The plugin ships with translations for all 24 official EU languages and is fully translation-ready; you can also translate it at translate.wordpress.org. The bundled translations are machine-assisted starting points and native-speaker contributions are very welcome.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3<\/h4>\n\n<ul>\n<li>Redesigned the front end: modern, mobile-responsive layout, clearer active\/inactive tabs, a single heading, accessible labelled fields and announced results.<\/li>\n<li>Security: fixed a stored Cross-Site Scripting (XSS) vulnerability in the <code>[gbmicalc]<\/code> shortcode and widget (CVE-2026-8883); all attributes and saved options are now whitelisted, sanitised and escaped on output.<\/li>\n<li>Security: the settings page and widget now use the WordPress Settings API and WP_Widget, with nonce and capability checks.<\/li>\n<li>Fixed the child weight-status logic (the overweight\/obese categories were unreachable) and added input validation so blank, zero or negative entries no longer produce a misleading result.<\/li>\n<li>Result sentences are now self-contained, properly translatable templates.<\/li>\n<li>Replaced the legacy widget with the modern WP_Widget API; replaced WP_PLUGIN_URL and direct script\/style tags with proper enqueuing; replaced the bundled colour picker with the built-in WordPress colour picker; removed bundled copies of jQuery.<\/li>\n<li>Fixed the text domain to match the plugin slug and added bundled translations for all 24 official languages of the European Union.<\/li>\n<li>Tested up to WordPress 7.0.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>JS bugs fix<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Tested up to WordPress 5.1<\/li>\n<\/ul>\n\n<h4>1.0.7.0<\/h4>\n\n<ul>\n<li>Tested up to WordPress 3.5<\/li>\n<li>Translation fixed<\/li>\n<\/ul>\n\n<h4>1.0.6.0<\/h4>\n\n<ul>\n<li>Critical error fixed<\/li>\n<\/ul>\n\n<h4>1.0.5.0<\/h4>\n\n<ul>\n<li>Fixed many bugs<\/li>\n<\/ul>\n\n<h4>1.0.1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"BMI calculator for adults and children \u2014 add it with the [gbmicalc] shortcode or a widget, in a colour-customisable, fully translatable interface.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19960"}],"author":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/helpstring"}],"wp:attachment":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19960"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19960"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19960"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19960"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19960"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}