Contents
On this page

Nutrition - Plugixa Recipe

Each recipe can carry an FDA-style nutrition label: a serving size and 15 nutrients, all per serving. The values can be typed in, calculated from the ingredients with the Nutrition Calculator, estimated by the AI Generator PRO, or imported from another plugin.

Nutrition fields

Stored in wp_plugixa_recipe_nutrition (one row per recipe):

Field Unit Description
serving_size text e.g., “1 bowl (approx. 500ml)”
calories kcal Per serving
total_fat grams
saturated_fat grams Part of total fat
trans_fat grams Part of total fat
cholesterol milligrams
sodium milligrams
total_carbohydrate grams
dietary_fiber grams Part of carbohydrates
total_sugars grams Part of carbohydrates
protein grams
vitamin_a % DV Percent daily value
vitamin_c % DV Percent daily value
calcium milligrams
iron milligrams
potassium milligrams
source text Where the values came from: manual, usda (Nutrition Calculator) or ai

Entering nutrition data

Per recipe

Open a recipe in the recipe editor and scroll to the Nutrition section. The section is shown while the Nutrition app is on.

The Nutrition section of the recipe editor with a serving size, fifteen nutrient fields, an Estimate with AI button, a Calculate from ingredients button and a Clear all values button

Fill in any of the fields. Leave a field blank for “not tracked”: it is left off the label and out of the structured data. Leave every field empty, or press Clear all values, to show no label at all.

Calculated from the ingredients

In Pro, with the Nutrition Calculator app on and your free USDA FoodData Central key entered, Calculate from ingredients works the values out from the ingredient list. You confirm every match and every weight before the values are filled in. See Nutrition Calculator.

Rendering on the frontend

The single recipe page renders a nutrition label with the US FDA styling:

A nutrition facts label in the familiar black-ruled layout: four servings per recipe, a serving size of one slice, 285 calories, then total and saturated fat, trans fat, cholesterol, sodium, carbohydrate, fibre, sugars and protein, followed by calcium, iron, potassium and vitamins A and C, each with its percent daily value and the 2,000-calorie footnote

A label calculated with the Nutrition Calculator carries the note “Calculated from the ingredients with USDA FoodData Central data. An approximation, not a laboratory analysis.” An AI-estimated label carries a similar note. The print page shows the same label, and readers can choose to leave it out when printing.

AI-generated nutrition (Pro)

When you use the AI Generator, or press Estimate with AI in the Nutrition section, the AI estimates the nutrition along with the rest of the recipe. The source is set to ai, and the editor reminds you that the values were estimated, not measured.

Important: calculated and AI values are approximations. For medical or regulatory use, verify them against a nutrition database or a lab analysis.

Hiding nutrition

If you don’t want nutrition shown:

  1. Apps: switch off the Nutrition app to remove the label and the editor section everywhere.
  2. Or leave a recipe’s nutrition fields empty: the label is hidden when no field is filled.

Schema output

Filled-in nutrition fields are written into the recipe’s structured data as the nutrition property (NutritionInformation), which Google can show in the recipe rich result. Structured data is part of the free plugin since 1.2.0.

"nutrition": {
  "@type": "NutritionInformation",
  "calories": "380 kcal",
  "fatContent": "8 g",
  "saturatedFatContent": "3 g",
  "carbohydrateContent": "48 g",
  "proteinContent": "28 g",
  "servingSize": "1 bowl (approx. 500ml)"
}

Quick Links

Share