前言介紹
- 這款 WordPress 外掛「Calorie Calculator」是 2016-10-07 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2025-01-10,距離現在已有 114 天。
- 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
- 有 10 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
calorie | weight loss | diet control | calorie calculator |
內容簡介
這款卡路里計算器基於Mifflin - St Jeor方程式。可以使用此卡路里計算器估算您每天需要攝取的熱量。如果您想要減重或增重,此計算器也可以提供簡單的指導方針。
減重的最佳方法是透過適當的飲食和運動。請勿將您的熱量攝取減少超過每天1,000卡路里,並嘗試逐漸降低熱量攝取。同時,嘗試保持您的纖維攝取水平和平衡其他營養需求。卡路里計算器的結果是根據估算平均值計算的。
使用方法
從小工具設置中選擇“卡路里計算器”並將其放置在您希望顯示的側欄中。
選擇一個單位。默認情況下,它顯示“美國單位”和“公制單位”。但您可以僅顯示“美國單位”或“公制單位”。
您可以從“常規,Twitter Bootstrap常規,舊版/經典”中選擇一個模板(我建議保留默認選項-常規)。
您可以在後端顯示名稱字段,電子郵件字段等以保存用戶詳細信息作為卡路里計算器日誌。
Pro版本使用方法
Calorie Calculator Pro版本提供了一些非常有用的功能,包括靈活的短碼、下載為PDF、發送到電子郵件、自動Mailchimp訂閱、強大的計算器日誌、常見食物中的熱量表、通過運動消耗的熱量等等。此外,我為我的高級用戶提供優質支持。在此購買Pro或查看完整功能列表。
如果您想啟用“將計算器結果作為電子郵件發送”和“下載結果為PDF”選項,您可以選擇它們。
如果您想顯示“常見食品中的卡路里表”和“通過常見運動消耗的卡路里”,請選擇它們(您的網站側欄應足夠寬,才能顯示這些表格。請考慮僅在此小工具放置在較寬的位置(例如頁腳小工具或其他位置)時啟用此功能。)。
使用短碼:
預設樣式和所有選項都啟用的通用短碼為:[calorie_calculator]。
如果您想在php代碼或主題中顯示此小工具,您可以使用 。
支持calorie_calculator短碼的所有屬性包括:
i)send_to_email=”false/true”(默認值為‘true’)
ii)download_as_pdf=”false/true”(默認值為‘true’)
iii)unit=”usunit/metricunit/both”(默認值為‘both’)
iv)template=”general/bootstrap-general/old”(默認值為‘general’)
v)show_name_field=”true/false”(默認值為‘true’。Mailchimp訂閱需要此字段)
vi)show_email_field=”true/false”(默認值為‘true’。Mailchimp訂閱需要此字段)
vii)show_firstname_only=”true/false”(默認值為‘false’)
例如:[calorie_calculator send_to_email="false" download_as_pdf="false" template="general"]
注意:如果您不在短碼中包含屬性,則該屬性將應用默認值。例如:上面的短碼示例中未包含值為false的send_to_email屬性。因此,它將顯示。
為了使事情更加簡單,Calorie Calculator中還包括短碼生成器。
原文外掛簡介
This Calorie Calculator is based on the Mifflin – St Jeor equation. The Calorie Calculator can be used to estimate the calories you need to consume each day. This calculator can also provide some simple guideline if you want to gain or lose weight.
The best way to lose weight is through proper diet and exercise. Try not to lower your calorie intake by more than 1,000 calories per day, and try to lower your calorie intake gradually. Also, try to maintain your level of fiber intake and balance your other nutritional needs. The results of the Calorie Calculator are based on an estimated average.
How to Use
From your widget setting select “Calorie Calculator” and put it in your expected sidebar.
Select an unit. By default it shows both “US Unit” and “Metric Unit”. But you can show only “US Unit” or “Metric Unit”.
You can select a template (I recommend to keep the default option – General) from General, Twitter Bootstrap General, Old/Classic.
You can show Name Field, Email Fields, etc to shave user details in the Backend as Calorie Calculator Logs.
Pro Version Usage
Calorie Calculator Pro comes with a handful of super useful features including flexible shortcode, download as PDF, Send to email, Automatic Mailchimp Subsciption, Strong Calculator Logging, Table of calories in food, Calorie burning by exercies and many more. Also, I provide premium support for my premium customer. Buy Pro or See full list of features here.
If you want do to enable “Send Calculator Result as Email” and “Download Result as PDF” option, you can select them.
If you want to show “Calorie in Common Foods” table and “Calorie Burning by Common exercises”, you can select them. (Your website sidebar should be wide enough to display these tables. Consider enabling it only if this widget is put in a wider place like footer widget or something else.)
Using Shortcodes:
General shortcode with default styling and all options enabled is [calorie_calculator]
If you want to show this widget inside of php codes or within your theme you can use
All attributes calorie_calculator shortcode supports are:
i) send_to_email=”false/true” (default value is ‘true’)
ii) download_as_pdf=”false/true” (default value is ‘true’)
iii) unit=”usunit/metricunit/both” (default value is ‘both’)
iv) template=”general/bootstrap-general/old” (default value is ‘general’)
v) show_name_field=”true/false” (default value is ‘true’. This field is required for Mailchimp subscription)
vi) show_email_field=”true/false” (default value is ‘true’. This field is required for Mailchimp subscription)
vii) show_firstname_only=”true/false” (default value is ‘false’)
Example: [calorie_calculator send_to_email="false" download_as_pdf="false" template="general"]
Note: If you don’t include an attribute within the shortcode, default value will be applied for that. As an example: send_to_email isn’t included with value false in the shortcode example above. So, it will be displayed.
To make things easier, there is a shortcode generator included in the “Calorie Calculator” Settings page.
Saving Calculator Data to the Database
Calculator usage details and user data gets stored in the Database automatically. You can to the ‘Calorie Calculator Logs’ page to those data.
Subscribing User to Your Mailchimp List
You can subscribe users to a Mailchimp List.
For this you need to go to ‘Mailchimp’ tab of the ‘Calorie Calculator’ Settings page from WordPress Dashboard.
Then Enter you Mailchimp API Secret Key and Mailchimp List ID. You can get help from the links there.
You must have ‘Show Name’ and ‘Show Email’ field enabled (in widgets/shortcodes) for Mailchimp Subscription to work.
Import/Export:
You can easily export all foods and calorie burning activities/exercises table data by clicking on “Export Foods as CSV” and “Export Activities as CSV” button. On the otherhand, you can import them easily by selecting respective files and then clicking on “Import Foos” and “Import Activiites” button within “Calorie Calculator” Settings page.
Adding new Foods and Activites:
Within “Calorie Calculator” setting page you will find two tabs named as “Calorie in Foods” and “Calorie Burning by Exercises” where you can easily add a new food or exercise, update them and delete them.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Calorie Calculator」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
3.1.6 | 3.1.7 | 3.1.8 | 3.1.9 | 3.2.0 | 3.2.1 | 3.2.2 | 3.2.3 | 3.2.4 | 3.2.5 | 3.2.6 | 3.2.7 | 3.2.8 | 3.2.9 | 3.3.0 | 3.3.1 | trunk |
延伸相關外掛(你可能也想知道)
SEO, Nutrition and Print for Recipes by Edamam 》, 這個外掛是一個料理食譜外掛,能夠讓您輕鬆編排格式,並使您的食譜更符合 Google 的要求。, 此外掛內建 SEO 功能,可以快速且輕易地編排食譜,並且自動計算...。