# Calorie Calculator Widget for WordPress

This calorie calculator computes how many calories are required daily to maintain, decrease, or gain weight. Learn about the different types of calories and how they affect you.

![Calorie Calculator Input Form](/assets/images/screenshot-1.png "Calorie Calculator Input Form")

## Installation

1. [Download](https://github.com/pub-calculator-io/calorie-calculator/archive/refs/heads/master.zip) the ZIP file of this repository.
2. Upload the /calorie-calculator-master/ folder to the /wp-content/plugins/ directory.
3. Activate the [Calorie Calculator](https://www.calculator.io/calorie-calculator/ "Calorie Calculator Homepage") plugin through the "Plugins" menu in WordPress.

## Usage
* Add the shortcode `[calcio_calorie_calculator]` to your page, post or sidebar.
* Or add the following code: `<?php display_calcio_calorie_calculator(); ?>` to your template where you would like the Calorie Calculator to appear.

## Libraries in Use
1. https://mathjs.org/
2. https://katex.org/
3. https://github.com/aFarkas/lazysizes
4. https://github.com/RobinHerbots/Inputmask
5. https://air-datepicker.com/
6. https://www.chartjs.org/
