Meal Tracker


Extend your site by allowing your users to track their meals and calorie intake. Calorie targets for the day can be set by admins, the users or automatically pulled from Yeken’s Weight Tracker.


For further information read our documentation:
Meal Tracker – Documentation

Core Features

  • [meal-tracker] shortcode.
  • Your user’s can log their meals and calorie intake.
  • Visual graph to show your user the percentage of their daily allowance used.
  • Add meals for Breakfast, Mid-morning, Lunch, Afternoon, Dinner and Evening.
  • View total calorie intake for the entire day or a breakdown.
  • Each user has their own meal collection.
  • Users can create and edit their meals.

Premium Features

  • Additional shortcodes.
  • As an administrator, you can view your user’s progress and entries.
  • Your user’s can have Unlimited meals.
  • If enabled, allow your users to record meals for any date, future or past.
  • Allow your users to search other user’s meals.
  • myCred integration. Gamify your user’s entries.
  • Support for Macronutrients.
  • Search external APIs (like Fatsecret) for meals.
  • FatSecrets Food and Recipe API are supported.
  • Meal Collection – create a library of meals for your users to search.
  • Fractional meal quantities – If enabled (via settings) additional quantity settings of 1/4, 1/2 and 3/4 are available when adding meals to an entry.
  • View, edit and delete meals in your user’s meal collection.
  • Import your meal collection via CSV.


  • Main view of [meal-tracker] shortcode.
  • “Add meal” view of [meal-tracker] shortcode.
  • Admin UI – summary overview.
  • Admin UI – user summary view.
  • Admin UI – view entry details.
  • Setup Wizard.
  • [meal-tracker] placement.


  1. Login into WordPress Admin Panel
  2. Navigate to Plugins > Add New
  3. Search for “Meal Tracker”
  4. Click Install now and activate plugin

Read more at Meal Tracker – Documentation .


Does it support Yeken’s Weight Tracker plugin?

Yes. If you have have the Pro Plus version of Weight Tracker, a user’s calorie allowance can be taken from there.

Language support

The plugin is written in English (UK) but is ready for translation. If you wish to add translations, please email me at


November 10, 2020
The Meal Tracker plugin is a great alternative to have an efficient and digitized nutritional follow-up for websites under wordrpess. The design is clear and refined which makes the visual really elegant. The plugin is compatible with translators such as Loco translator. The support (Ali) is reactive if needed to solve problems with the plugin. I recommend it 🙂
September 22, 2020
This is the second of Yeken plugins that I have used and they are both top class! Extremely user friendly and carry out all of the functions needed to fit both fields! Anyone with a website in the fitness or nutrition field installing this plug in is a must! Couldn’t recommend it highly enough.
May 28, 2020
I have only just purchased and started using this plugin! It works perfectly with weight tracker and I can wait to start using it live with clients! Dee
Read all 7 reviews

Contributors & Developers

“Meal Tracker” is open source software. The following people have contributed to this plugin.


Translate “Meal Tracker” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Maintenance: Updated tested with WP 6.5 note.


  • Improvement: When a user is on the Meal Tracker settings tab, if they have not specified all of their user profile in Weight Tracker, then warn them that “Weight Tracker” can not be used as a source.


  • Bug fix: Fixed an issue where user’s recently added meals were not appearing within the search results.


  • Bug fix: Fixed PHP error issue when no calorie allowance set.


  • Bug fix: When importing a meal from an external source, don’t incorrectly set it to be an admin meal (i.e. searching up in every other users meal searches).
  • Improvement: DB change, “added_by_admin” column now defaults to 0 when a row is added into the meal collection table.


  • Version bump for SVN issue.


  • Improvement: Communicate and search with meal collections from other WP installs with Meal Tracker installed.
  • Bug: Decimal places were lost when importing macronutrients via CSV.


  • Updated “Tested upto” statement.


  • Updated “Tested upto” statement.


  • Improvement: Added the ability to translate calendar months, days and today’s button.
  • Improvement: Added a new argument “chart-hide” to [meal-tracker] to hide the chart.


  • Tested up to version 6.0.


  • Updated “Tested upto” WP version.


  • New setting: “Calories Allowed colour” – specify the calories user colour on the pie chart.


  • Updated version WP compatibility statement.


  • Version bump.


  • Updated translation files.


  • Updated version WP compatibility statement.


  • Bug fix: Removed stray var_dump()


  • Bug fix: In some cases, the side bar was missing from admin user panels.


  • Improvement: Small improvements to documentation.


  • New feature: CSV Import. Bulk import meals into your meal collection.
  • New feature: New shortcode: [mt-chart-entries] which displays a chart of the user’s entries. Read more:
  • New feature: New shortcode: [mt-table-entries] which displays a table of the user’s entries. Read more:
  • New feature: New shortcode: [mt-date-oldest-entry] which displays the date of the user’s oldest entry. Read more:
  • New feature: New shortcode: [mt-date-latest-entry] which displays the date of the user’s latest entry. Read more:
  • New feature: New shortcode: [mt-count-entries] which displays a count of the user’s entries. Read more:
  • New feature: New shortcode: [mt-count-meals] which displays the number of meals the user has added to their collection. Read more:
  • New feature: New shortcode [mt-chart-today] which is used to display the user’s progress for today. Read more:
  • New feature: New shortcode: [mt-calories-allowance] displays the calorie allowance for today’s entry. Read more:
  • New feature: New shortcode: [mt-calories-remaining]] displays the remaining calorie allowance for today’s entry. Read more:
  • New feature: New shortcode: [mt-calories-used] displays the calories used for today’s entry. Read more:
  • New feature: New shortcode: [mt-calories-used-percentage] displays the percentage of calories used for today . Read more:
  • New feature: Added a “Delete all cache” button a user’s profile within the admin area.
  • Improvement: Display and change the order of boxes on user summary and profile page (admin).
  • Improvement: Set the height of the progress chart in [meal-tracker] shortcode to 200px. This can be overridden using the shortcode argument below.
  • Improvement: Added the argument “chart-height”, “chart-type”, “chart-hide-legend” and “chart-hide-title” to the shortcode [meal-tracker] Read more:
  • Improvement: Added the argument “url-login” to the shortcode [meal-tracker] Read more:
  • Improvement: Removed caching layer and integrated the new optimised caching layer that was written from scratch for Weight Tracker.
  • Improvement: Upgraded underlying charting library (from Chart.js 2 > 3) and updated related MT code.
  • Improvement: Re-factored underlying charting code so cleaner and optimised.
  • Improvement: Added ‘kcal’ to chart labels.
  • Improvement: Added Bezier curve to lne graphs.
  • Bug fix: Date format is now taken from WordPress admin settings.
  • Bug fix: Removed duplicate HTML element with the ID “yk-mt-button-meal-add”.
  • Bug fix: Replaced incorrect reference to plugin slug used with in gamification.
  • Added links to the new Meal Tracker documentation site


  • Bug fix: Removed empty line from gamification PHP file.


  • New Feature: Support for myCred. Reward your users for creating new entries and adding meals to their entries.


  • Updated “Tested upto” statement within readme.txt


  • Signed off as working with 5.6


  • Bug fix: Corrected language domain and path


  • Bug fix: Back slashes are now removed from meal titles and descriptions (when used to escape quotes).
  • Improvement: Updated Arabic translations (thanks @Saeed)


  • New feature: If enabled, MacroNutrient values are displayed on Meal line items.
  • Improvement: When settings are saved, entire cache is invalidated.


  • New Feature: If enabled (via settings) new quantity settings of 1/4, 1/2 and 3/4 are available when adding meals to an entry.


  • New feature: “Meal Collection” – ability to create a library of meals that your users can search.
  • New feature: View, edit and delete meals in your user’s meal collections.
  • Improvement: Added extra security to Ajax calls to ensure a user cant edit another user’s meals.
  • Bug fix: Description is correctly updated when modified by a user.
  • Bug fix: Removed edit button against meals that a user has added from someone else’s collection i.e. restrict user’s to editing their own meals.
  • Bug fix: Under “Calorie Allowance”, allow the setting “User specified” to be saved correctly when not premium


  • New Feature: Support for FatSecrets Food API (
  • Improvement: Added “Oz” unit for meals.


  • Bug fix: Added missing text for translations.
  • Bug fix: Error being thrown on settings page for external sources.


  • Bug fix: Always create Macronutrient MySQL columns regardless of being enabled.


  • Improvement: Underlying framework for supporting lookup of meals from external APIs.
  • Improvement: FatSecret integration (look up meals from them).
  • Improvement: Major overhaul of CSS.
  • Improvement: Added unified look that ensures it looks more consistent across various themes.
  • Improvement: Added a check on Settings page to check that all MySQL tables are present for the plugin. Option to rebuild them if not.
  • Improvement: Basic support for specifying fats, proteins and carbs against meals. This will be expanded in the future to render totals and allow sites to focus on totals other than calories.
  • Improvement: Added the underlying frame work for custom fields (although currently only utilised for MacroN fields).
  • Bug fix: Fixed quantity error handling.
  • Bug fix: Replaced deprecated jQuery code.


  • Improvement: Added Arabic translations (thanks @Saeed)
  • Bug fix: Minor bug fixes throwing PHP errors.
  • Bug fix: Incorrect slug used for localisation.
  • Bug fix: Warning being thrown for missing array index.


  • Improvement: Added meal description to “View Entry” page in admin. (#66)
  • Improvement: New Setting that enables users to search for meals added by any user. (#61)
  • Improvement: New Settings that specify whether users are permitted to add new entries in the past and / or future (#72)
  • Improvement: Clearer display names for users. (#73)
  • Improvement: Admins can now delete user entries and mark their meals as deleted. (#68)
  • Improvement: Options to display summary of entries for today, last 7 days, latest 100 and latest 500 on user data dashboard (#65)
  • Improvement: Entry summary on the user data dashboard is now cached for 5 minutes to improve performance.
  • Bug Fix: Err was being displayed for meal unit if not description had been set for a meal. (#64)
  • Bug Fix: Added POT and en_GB language files. This should aid those that wish to translate the plugin (#74)
  • Bug Fix: Minified CSS and JS in front end (#37)
  • Bug fix: Fix an issue where Weight Tracker can’t be selected correctly as a Calorie Allowance source.
  • Bug fix: Responsive fix when adding menu link to Weight Tracker


  • Bug Fix: Removed reference to missing function ws_ls_create_dialog_jquery_code()


  • Initial Release