Fitness Zone: How to calculate the BMI values with the weight in kilograms

By default we have a BMI calculation with pounds. So, when you want to calculate the BMI value using the kg(in weights)

BMI = weight in kilograms / height in meters2

Kindly follow the below steps.

Step 1

Get into the file path /wp-content/plugins/designthemes-core-features/shortcodes/shortcodes.php under the BMI Calculation function you can change the text.

Else replace the function dt_sc_bmi_calc completely using the below code,

Step 2

Get into the file path /wp-content/themes/fitnesszone/framework/js/public/custom.js under the BMI Calculation function you can change the formula.

Rate This Article

(35 out of 49 people found this article helpful)

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.