=== CC BMI Calculator ===
Contributors: CalculatorsCanada.ca, calculatorsworld
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WMNEW56HL8NLW
Tags: BMI Calculator, calculator, sidebar, widget, plugin, shortcode, health, weight, BMI, metric, imperial, responsive
Requires at least: 3.0
Tested up to: 6.5.2
Stable tag: 2.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add a free simple customizable BMI Calculator to your web site. 

== Description ==

This is basic [BMI Calculator](https://calculatorsworld.com/health/bmi-calculator/) for Body Mass Index calculation.
Calculation can be done in imperial or metric units. Here is [metric BMI chart](https://calculatorsworld.com/health/bmi-chart-men-women-metric/) and [imperial BMI chart](https://calculatorsworld.com/health/bmi-chart-men-women-imperial/).

Body Mass Index calculator is for adults only. For kids and youths check these calculators: [BMI Calculator for 5-19 age girls](https://calculatorsworld.com/health/girls-bmi-calculator/) or 
[BMI Calculator for 5-19 age boys](https://calculatorsworld.com/health/boys-bmi-calculator/).


Calculator is very easy customizable: you can change color of background, borders and text to match your web site's theme and change widget title, make prefered default unit (imperial or metric).
It can be placed on sidebar as widget or incorporated into post or page using shortcode. 

== Installation ==

1. Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Appearance -> Widgets and add the widget to your website sidebar

OR

Use [cc-bmi] short code if you want embed the mortgage calculator into a post instead of adding it as a widget on sidebar.

Short code parameters are:

  * title (optional) - sets calculator's title (default - "BMI calculator")
  * onlyunits (optional) - shows only one unit. Available options - imperial, metric or all (default - "all")
  * units (optional) - This option is availabe if onlyunits = "all". Sets default unit to display. Available options - imperial or metric (default - "imperial")
  * bg_color (optional) - sets background color (default - "#f8f8f8")
  * border_color (optional) - sets border color (default - "#ddd")
  * text_color (optional) - sets text color (default - "#666666")
  * header_footer_bg_color (optional) - sets header and footer background color (default - "#ddd")
  * header_footer_text_color (optional) - sets header and footer text color (default - "#666666")
  * button_bg_color (optional) - sets button background color (default - "#a0a0a0")
  * button_text_color (optional) - sets button text color (default - "#ffffff")
  * button_border_color (optional) - sets button border color (default - "#a0a0a0")
  * dev_credit (optional) - shows developer's credit (default - "1")
  
Example of shortcode usage: [cc-bmi onlyunits=”metric”]

Use [Color Picker](http://www.colorpicker.com/) to get hex code of color you need.

Please visit [BMI plugin home page](https://calculatorsworld.com/health/bmi-calculator-wordpress-widget/) for more detailed installation and setup instructions  

== Frequently Asked Questions ==

= Can I use this widget on commercial website =
Yes. 

Please [contact us](https://calculatorsworld.com/contact/) if you have further questions or suggestions.


== Screenshots ==

1. Widget settings
2. Widget with default settings
3. Shortcode usage example in post
4. Widget with custom settings

== Changelog ==

= 2.1.0 = 
* Fixed low level vulnerability 
* Fixed imperial BMI calculation then 0 in is entered

= 2.0.1 = 
* Added ability to show only metric or imperial or both units 
* Result labels are shown in capital letters now
* Fixed some calls to depreciated php funtions
* Fixed advanced options screen issues

= 1.0.0 = 
* Fixed minor bug (fixed radio buttons layout)

= 0.1.0 =
* Initial release

== Upgrade Notice ==

= 2.1.0 = 
* Fixed low level vulnerability. Immediate update advised.  
* Fixed imperial BMI calculation then 0 in is entered

