WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Easy Nutrition Facts Label

Easily add FDA-style nutrition labels to pages and posts.

What units does the label use?

  • Grams: totalfat, satfat, transfat, carbohydrates, fiber, sugars, protein
  • Milligrams (mg): cholesterol and sodium
  • Unitless: servings and calories (units are implicit for calories)
  • You should include the unit in the serving size attribute (ie: "4 oz")

What about **Calories from Fat**?

The Calories from Fat number is computed from the totalfat attribute.

What about vitamins?

Thinking about it.

How do I style the nutrition label?

You can control the width with the "width" attribute. The width attribute uses ems as its unit. It is styled to scale but it's likely that the "Nutrition Label" text won't scale well as the default font is Helvetica, which isn't fixed-width.

Each label as an id attribute of wp-nutrition-label-{ID} which allows you to change the label as you see fit.

How about calculating the nutrition values based on a recipe?

This is really hard to do. To do it at all reliably requires human intervention to match ingredients names against their entries in a nutrition database. That's a level of difficulty I don't wan to try to tackle with this plugin. You may find the USDA's free online nutrition database useful for looking up nutrition information:

http://www.nal.usda.gov/fnic/foodcomp/search/

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2013-2-11
Downloads: 1,986

Ratings

5 stars
5 out of 5 stars

Support

0 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1