前言介紹
- 這款 WordPress 外掛「CFF Fitness and Health Operations」是 2023-01-05 上架。
- 目前有 90 個安裝啟用數。
- 上一次更新是 2025-04-08,距離現在已有 26 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
cff | health | fitness | equation | operation |
內容簡介
derate, active, very, extra), and goal weight (in Kg).
Ex: WEIGHTGOAL(85, 1.65, "male", 44, "sedentary", 75) Result: 1889
For weight in pounds, divide its value by 2.2. Ex: WEIGHTGOAL(187/2.2, 1.65, "male", 44, "sedentary", 165/2.2) Result: 1889
For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96 in WEIGHTGOAL(85, 50.3048+4.960.0254, "male", 44, "sedentary", 165/2.2) Result: 1889
Overall, this plugin is a must-have addition for anyone who is looking to develop a fitness or health-related website or application through WordPress. With its powerful features and easy-to-use interface, it will surely help you take your project to the next level. Try it out now and see the difference it makes!
原文外掛簡介
The plugin implements the “Fitness and Health” operations module to be used from the equations of the “Calculated Fields Form” plugin. The “Calculated Fields Form” plugin is a form builder with a lot of potential, and its “Calculated” control is one of its great strengths. It allows you to enter mathematical formulas, determine the distance between addresses, plot graphs, process dates, manage files, and many other operations.
The “CFF Fitness and Health Operations” plugin enhances, even more, the possibilities of the “Calculated Fields Form” plugin, including essential operations in fitness or health-related projects as listed below:
BMI: Calculates the Body Mass Index based on the user’s height and weight. It accepts three parameters: weight (in Kg), height (in meters), and textual output (true or false) (optional, default false). When the textual output is true, the operation result would be any of the following texts: Severe Thinness, Moderate Thinness, Mild Thinness, Normal, Overweight, Obese Class I, Obese Class II, Obese Class III.
Ex: BMI(85, 1.65) Result: 31.2
Ex: BMI(85, 1.65, true) Result: Obese Class I
For weight in pounds, divide its value by 2.2. Ex: BMI(187/2.2, 1.65) Result: 31.2
For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96 in BMI(85, 50.3048+4.960.0254) Result: 31.2
BFP: The Body Fat Percentage calculator estimates the total body fat percentage. It accepts five parameters: weight (in Kg), height (in meters), gender (male or 0, female or 1), age (in years), and textual output (true or false) (optional, default false). When the textual output is true, the operation result would be any of the following texts: Underfat, Healthy, Overweight, Obese.
Ex: BFP(85, 1.65, "male", 44) Result: 31.39
Ex: BFP(85, 1.65, "male", 44, true) Result: Obese
For weight in pounds, divide its value by 2.2. Ex: BFP(187/2.2, 1.65, "male", 44) Result: 31.39
For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96 in BFP(85, 50.3048+4.960.0254, "male", 44) Result: 31.39
BMR: The Basal Metabolic Rate calculator estimate the number of calories a person needs to consume each day. It accepts five parameters: weight (in Kg), height (in meters), gender (male or 0, female or 1), age (in years), and activity level (bmr, sedentary, light, moderate, active, very, extra)
bmr: amount of energy expended per day at rest.
sedentary: little or no exercise.
light: exercise 1-3 times/week.
moderate: exercise 4-5 times/week.
active: daily exercise or intense exercise 3-4 times/week.
very: intense exercise 6-7 times/week.
extra: very intense exercise daily, or physical job.
Ex: BMR(85, 1.65, "male", 44, "sedentary") Result: 2000
For weight in pounds, divide its value by 2.2. Ex: BMR(187/2.2, 1.65, "male", 44, "sedentary") Result: 2000
For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96 in BMR(85, 50.3048+4.960.0254, "male", 44, "sedentary") Result: 2000
WEIGHTGOAL: The Goal Weight Calculator estimates the number of calories a person needs to consume each day to reach his/her goal weight. It accepts six parameters: weight (in Kg), height (in meters), gender (male or 0, female or 1), age (in years), and activity level (bmr, sedentary, light, moderate, active, very, extra), goal (maintain, mild loss, loss, extreme loss, mild gain, gain, fast gain)
Ex: WEIGHTGOAL(85, 1.65, "male", 44, "sedentary", "mild loss") Result: 1725
For weight in pounds, divide its value by 2.2. Ex: WEIGHTGOAL(187/2.2, 1.65, "male", 44, "sedentary", "mild loss") Result: 1725
For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96 in WEIGHTGOAL(85, 50.3048+4.960.0254, "male", 44, "sedentary", "mild loss") Result: 1725
IBW: The Ideal Body Weight Calculator estimates ideal weight (in Kg) based on the person height, and gender. It accepts two parameters: height (in meters), and gender (male or 0, female or 1)
Ex: IBW(1.65, "male") Result: 61.41
For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96 in IBW(50.3048+4.960.0254, "male") Result: 61.41
PREGNANCY: Determines the conception or due dates based on the first day of last menstrual period. It accepts three parameters: date, date format (Ex. dd/mm/yyyy), and output (due or 0, conception or 1)
Ex: PREGNANCY("05/14/2022", "mm/dd/yyyy", "due") Result: 02/18/2023
Ex: PREGNANCY("05/14/2022", "mm/dd/yyyy", "conception") Result: 05/28/2022
Use
The “CFF Fitness and Health Operations” plugin includes the new “Fitness and Health” entry (see screenshots) in the operations list of the calculated fields (Insert a calculated field in the form and scroll down the operations list in your configuration). Once the “Fitness and Health” option is selected, the plugin enables the operations set and documentation. By clicking on the operation buttons, they are added to the equation’s editor.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CFF Fitness and Health Operations」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
TS Business Hours 》TSBusinessDay是一個具有限制內容功能的類別,根據營業時間進行限制。支持跨越午夜的營業時間。將最終發展成一個完整的外掛程式,但多虧了Elliot Condon,我...。