/pregnancy-calculator

Free WordPress Plugin: Using the due date, last period date, ultrasound date, conception date, or IVF transfer date, this calculator generates an expected pregnancy timeline. www.calculator.io/pregnancy-calculator/

Primary LanguageJavaScript

Pregnancy Calculator Widget for WordPress

Using the due date, last period date, ultrasound date, conception date, or IVF transfer date, this calculator generates an expected pregnancy timeline.

Pregnancy Calculator Input Form

Installation

  1. Download the ZIP file of this repository.
  2. Upload the /pregnancy-calculator-master/ folder to the /wp-content/plugins/ directory.
  3. Activate the Pregnancy Calculator plugin through the "Plugins" menu in WordPress.

Usage

  • Add the shortcode [ci_pregnancy_calculator] to your page, post or sidebar.
  • Or add the following code: <?php display_ci_pregnancy_calculator(); ?> to your template where you would like the Pregnancy 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/