/** * This file represents an example of the code that themes would use to register * the required plugins. * * It is expected that theme authors would copy and paste this code into their * functions.php file, and amend to suit. * * @package TGM-Plugin-Activation * @subpackage Example * @version 2.3.6 * @author Thomas Griffin * @author Gary Jones * @copyright Copyright (c) 2012, Thomas Griffin * @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later * @link https://github.com/thomasgriffin/TGM-Plugin-Activation */ /** * Include the TGM_Plugin_Activation class. */ require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php'; add_action( 'tgmpa_register', 'my_theme_register_required_plugins' ); /** * Register the required plugins for this theme. * * In this example, we register two plugins - one included with the TGMPA library * and one from the .org repo. * * The variable passed to tgmpa_register_plugins() should be an array of plugin * arrays. * * This function is hooked into tgmpa_init, which is fired within the * TGM_Plugin_Activation class constructor. */ function my_theme_register_required_plugins() { /** * Array of plugin arrays. Required keys are name and slug. * If the source is NOT from the .org repo, then source is also required. */ $plugins = array( // This is an example of how to include a plugin pre-packaged with a theme array( 'name' => 'Contact Form 7', // The plugin name 'slug' => 'contact-form-7', // The plugin slug (typically the folder name) 'source' => get_stylesheet_directory() . '/includes/plugins/contact-form-7.zip', // The plugin source 'required' => true, // If false, the plugin is only 'recommended' instead of required 'version' => '', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins 'external_url' => '', // If set, overrides default API URL and points to an external URL ), array( 'name' => 'Cherry Plugin', // The plugin name. 'slug' => 'cherry-plugin', // The plugin slug (typically the folder name). 'source' => PARENT_DIR . '/includes/plugins/cherry-plugin.zip', // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. 'version' => '1.1', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented. 'force_activation' => true, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch. 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins. 'external_url' => '', // If set, overrides default API URL and points to an external URL. ) ); /** * Array of configuration settings. Amend each line as needed. * If you want the default strings to be available under your own theme domain, * leave the strings uncommented. * Some of the strings are added into a sprintf, so see the comments at the * end of each line for what each argument will be. */ $config = array( 'domain' => CURRENT_THEME, // Text domain - likely want to be the same as your theme. 'default_path' => '', // Default absolute path to pre-packaged plugins 'parent_menu_slug' => 'themes.php', // Default parent menu slug 'parent_url_slug' => 'themes.php', // Default parent URL slug 'menu' => 'install-required-plugins', // Menu slug 'has_notices' => true, // Show admin notices or not 'is_automatic' => true, // Automatically activate plugins after installation or not 'message' => '', // Message to output right before the plugins table 'strings' => array( 'page_title' => theme_locals("page_title"), 'menu_title' => theme_locals("menu_title"), 'installing' => theme_locals("installing"), // %1$s = plugin name 'oops' => theme_locals("oops_2"), 'notice_can_install_required' => _n_noop( theme_locals("notice_can_install_required"), theme_locals("notice_can_install_required_2") ), // %1$s = plugin name(s) 'notice_can_install_recommended' => _n_noop( theme_locals("notice_can_install_recommended"), theme_locals("notice_can_install_recommended_2") ), // %1$s = plugin name(s) 'notice_cannot_install' => _n_noop( theme_locals("notice_cannot_install"), theme_locals("notice_cannot_install_2") ), // %1$s = plugin name(s) 'notice_can_activate_required' => _n_noop( theme_locals("notice_can_activate_required"), theme_locals("notice_can_activate_required_2") ), // %1$s = plugin name(s) 'notice_can_activate_recommended' => _n_noop( theme_locals("notice_can_activate_recommended"), theme_locals("notice_can_activate_recommended_2") ), // %1$s = plugin name(s) 'notice_cannot_activate' => _n_noop( theme_locals("notice_cannot_activate"), theme_locals("notice_cannot_activate_2") ), // %1$s = plugin name(s) 'notice_ask_to_update' => _n_noop( theme_locals("notice_ask_to_update"), theme_locals("notice_ask_to_update_2") ), // %1$s = plugin name(s) 'notice_cannot_update' => _n_noop( theme_locals("notice_cannot_update"), theme_locals("notice_cannot_update_2") ), // %1$s = plugin name(s) 'install_link' => _n_noop( theme_locals("install_link"), theme_locals("install_link_2") ), 'activate_link' => _n_noop( theme_locals("activate_link"), theme_locals("activate_link_2") ), 'return' => theme_locals("return"), 'plugin_activated' => theme_locals("plugin_activated"), 'complete' => theme_locals("complete"), // %1$s = dashboard link 'nag_type' => theme_locals("updated") // Determines admin notice type - can only be 'updated' or 'error' ) ); tgmpa( $plugins, $config ); } The 5 best AI calorie trackers of 2026

The 5 best AI calorie trackers of 2026

As the usage of smartphones and wearable devices has increased, UK users have come to expect smart and data-driven solutions to remain organizationally in touch with their nutrition goals. In my opinion, as the guy who created the original IIFYM diet and Macro Calculator, the best macro tracking app right now is Macro Max. It’s simple, accurate, ad-free, and built around real-life results. But depending on your goals, you might also consider Cronometer for micronutrients or MacroFactor for advanced users. If you’re following a low-carb or keto lifestyle, Carb Manager is one of the most feature-rich AI diet tracking apps available. With it, you can go beyond typical calorie counting to track ketones, insulin, blood glucose, glycemic load, intermittent fasting, and so best calorie counter app free much more.

Expenditure Modifiers, New Success Story, and MacroFactor Workouts Progress

A wellness practitioner can also use these virtual agents to gather feedback after wellness checks and lifestyle assessments. They can also support coaches and trainers working with clients to improve eating habits and build consistency over time. Furthermore, they have a Smart Label Scanner that instantly scans your nutrition label and automatically populates the nutrition information in the app for you - no more manual entries! These features and benefits are unheard of on other free apps, making this both the best free and premium app on the market.

best nutrition tracker apps

What are the Best Nutrition Tracker Apps of 2026?

Community features like recipe sharing, challenges, and forums give it a social dimension that other apps lack. Nutrition for endurance athletes is just as important as training itself. Whether you’re preparing for a triathlon, logging hours on the bike, or testing yourself in an indoor cycling session, fueling strategies determine performance and recovery. From endurance cycling nutrition to post-race refueling, knowing what to eat during long rides and how to balance carbs, hydration, and recovery will help you perform at your best.

best nutrition tracker apps

Best Nutrition Apps for Pregnancy and Prenatal Tracking (

Smart rings pack a ton (no literally, an absurd amount) of sleep/stress stats and workout/health information into a tiny package you wear on your finger 24/7. It offers custom gram-based goals, per-meal breakdowns, and a large database, all with a generous free tier. Choosing a macro tracking app has a significant impact on your fitness journey, and rightly so.

The 5 best AI calorie trackers of 2026

This update adds step-informed data and goal-based adjustments to improve the accuracy of your Calorie targets. We tested the eight most popular macro trackers on an iPhone 16 Pro and Apple Watch Series 10, evaluating each on macro customization, tracking precision, Apple integration, and value. Barcodes from retailers such as Tesco or Sainsbury's, as well as food entries from popular apps like MyFitnessPal, Lifesum, and FatSecret, are typically supported. Macronutrients get dynamically adjusted based on weight changes for the progressive goals-cutting or bulking phases.

Log your food and exercise

MyNetDiary, MyFitnessPal, and Cronometer also offer fasting features but require their Premium tiers. Meal Scanning is now available in some form across most apps (typically in premium tiers). You take a photo of your plate, and the app identifies the food and estimates portions.

UK Compatibility: Food Databases & Barcode Scanning

After that, you’ll pay $8.99 per month or $90 per year to use the app. Most rideshare drivers will go through those 40 trips very quickly, but if you drive for other reasons (perhaps as a Realtor), you’ll probably be able to get away with the free version. Charles Thorp is the Fitness and Reviews Editor at Men’s Health, where he shares the best product recommendations in gym equipment, recovery tools, supplements, and more. Following an early life in athletics, Charles became a NASM-certified trainer and began writing programs alongside the most respected coaches in the world. When he’s not writing about training programs or gear, he can be seen at the gym or in the wild, putting them to the test. Lauren Keary is a NASM-certified nutrition coach and fitness/nutrition writer based in the San Francisco Bay Area.

Calorie Tracking App Comparison Matrix (

Many nutrition apps are free to download and use, though some also have paid versions. If you’re not sure whether a nutrition app is the right solution for you, try one of the free options on our list. You can always upgrade later if you decide you’d like access to premium features. Whether you’re trying to cut carbs, increase your protein intake, or get a better grasp of the macronutrient breakdown of your diet, MyNet Diary Calorie Counter is a great tool for on-the-go food logging.

  • If the AI gets it wrong, you can edit the food item or search for a better match in its database.
  • Users can take photos of their meal or scan UK-labelled products.
  • Plus, there’s a supportive social community of low-carb and keto enthusiasts to keep you motivated and accountable.
  • MyFitnessPal is a top nutrition app that offers classic tracking capabilities.
  • While not a dedicated nutrition tracking app, it is a valuable resource for meal planning.
  • Apps can also help you see how much of a certain nutrient you’re consuming, says Rebecca Russell, RD, founder of The Social Nutritionist.

Best Nutrition App for Calorie Tracking: Cronometer

Andi Breitowich is a freelance writer who covers health, fitness, relationships, beauty, and smart living. She is a graduate of Emory University and Northwestern University's Medill School of Journalism. Her work has appeared in Women's Health, POPSUGAR, Food & Wine, What To Expect, Cosmopolitan, Men's Health, and elsewhere. As a former collegiate pole vaulter, she loves all things fitness and has yet to meet a group workout class she doesn't like. You can get exclusive programs from our top-notch trainers in one place, along with routines from other all-star content from Men's Health, Prevention, and Runner's World.

Healthline’s picks of the best calorie counter apps

If we had to pick one app that delivered the most value in its free tier during our February 2026 testing, it would be MyNetDiary. It's not perfect -- no app is -- but it respects your time and your data in a way that most free apps simply don't. Anyone who wants a full-featured, ad-free calorie counter without paying a cent. A calorie tracking app is only as good as the data behind it. Apps with crowdsourced databases -- where any user can submit a food entry -- tend to accumulate duplicates, outdated nutrition information, and outright errors. A peer-reviewed analysis in JMIR mHealth and uHealth found systematic biases in unverified food databases, with macronutrient values routinely off by 6-8%.