Calorie Calculator

plugin banner

The Calorie Calculator can be used to estimate the calories you need to consume each…

Author:Md. Zubaer Ahammed (profile at wordpress.org)
WordPress version required:3.5
WordPress version tested:6.4.2
Plugin version:3.3.0
Added to WordPress repository:08-10-2016
Last updated:09-12-2023
Rating, %:68
Rated by:10
Plugin URI:https://zubaer.com/wordpress/calorie-calculat...
Total downloads:15 770
Active installs:200+
plugin download
Click to start download

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

  1. From your widget setting select “Calorie Calculator” and put it in your expected sidebar.
  2. Select an unit. By default it shows both “US Unit” and “Metric Unit”. But you can show only “US Unit” or “Metric Unit”.
  3. You can select a template (I recommend to keep the default option – General) from General, Twitter Bootstrap General, Old/Classic.
  4. 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.

  1. If you want do to enable “Send Calculator Result as Email” and “Download Result as PDF” option, you can select them.
  2. 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:

  1. General shortcode with default styling and all options enabled is [calorie_calculator]
  2. If you want to show this widget inside of php codes or within your theme you can use <?php echo do_shortcode( '[calorie_calculator]' ); ?>
  3. 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.

  4. To make things easier, there is a shortcode generator included in the “Calorie Calculator” Settings page.

Saving Calculator Data to the Database

  1. 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

  1. You can subscribe users to a Mailchimp List.
  2. For this you need to go to ‘Mailchimp’ tab of the ‘Calorie Calculator’ Settings page from WordPress Dashboard.
  3. Then Enter you Mailchimp API Secret Key and Mailchimp List ID. You can get help from the links there.
  4. 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.


Screenshots
FAQ
ChangeLog