Now you can add adults body mass index (BMI) calculator widget to your blog powered by WordPress.
Plugin can be downloaded from WordPress plugin repository or it can be installed directly from WordPress blog dashboard. Instructions provided bellow
Plugin installation from WordPress blog dashboard
![Add new WordPress plugin](https://calculatorsworld.com/health/wp-content/uploads/sites/4/1-wp-add-bmi-calculator-plugin-new.png)
1. In blog dashboard left hand menu click Plugins -> Add New
![Search for CC BMI Calculator plugin](https://calculatorsworld.com/health/wp-content/uploads/sites/4/2-wp-add-bmi-calculator-plugin-search.png)
2. Enter “cc bmi calculator” in search field
![Install now WordPress plugin](https://calculatorsworld.com/health/wp-content/uploads/sites/4/3-wp-add-bmi-calculator-plugin-install-now.png)
3. Press “Install Now”
![Activate WordPress plugin](https://calculatorsworld.com/health/wp-content/uploads/sites/4/4-wp-add-bmi-calculator-plugin-activate.png)
4. Active plugin
Widget activation and customization
![WordPress widgets menu](https://calculatorsworld.com/health/wp-content/uploads/sites/4/5-wp-bmi-calculator-widgets.png)
1. Go to WordPress Widgets
![Select sidebar](https://calculatorsworld.com/health/wp-content/uploads/sites/4/6-wp-bmi-calculator-widgets-select-sidebar.png)
2. Select sidebar
![Add widgets to selected sidebar](https://calculatorsworld.com/health/wp-content/uploads/sites/4/7-wp-bmi-calculator-widgets-add-to-selected-sidebar.png)
3. Add widgets to selected sidebar
![BMI calculator widget default settings](https://calculatorsworld.com/health/wp-content/uploads/sites/4/8-wp-bmi-calculator-widget-default-settings.png)
4. BMI calculator widget default settings
Widgets advanced options
![BMI calculator widget advanced options](https://calculatorsworld.com/health/wp-content/uploads/sites/4/9-wp-bmi-calculator-widget-advanced-options.png)
Check “customize colors…” checkbox to activate advanced options:
- change colors
- change available units – Imperial or Metric or both
- select default units – Imperial or Metric
Widget shortcode
Shortcode [cc-bmi] is available if you need to place BMI Widget inside your WordPress blog post or page.
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”)
Shortcode examples
![Default view](https://calculatorsworld.com/health/wp-content/uploads/sites/4/10-wp-bmi-calculator-widget-default-view.png)
Default view [cc-bmi]
![Custom view](https://calculatorsworld.com/health/wp-content/uploads/sites/4/11-wp-bmi-calculator-widget-custom-view.png)
Custom view – custom colors and shows only metric units
[cc-bmi onlyunits=”metric” border_color=”#0B90B5″ bg_color=”#B0DBE7″ text_color=”#000000″ header_footer_bg_color=”#0B90B5″ header_footer_text_color=”#FFF” button_bg_color=”#0B90B5″ button_border_color=”#0B90B5″]
Please contact us if you find any bugs or have some suggestion how to improve this widget.