The wp-nutrition-label plugin for WordPress provides a shortcode which will put an FDA-style nutrition label on a web page.
To use it, use the shortcode nutr-label
For instance,
[nutr-label servingsize='2oz' servings='4' calories='100' totalfat='4' satfat='2' transfat='0' cholesterol='32' sodium='80' carbohydrates='8' fiber='4' sugars='4' protein='8']
displays as:
Nutrition Facts
Serving Size 2oz
Servings 4
Amount Per Serving
Calories 100 Calories from Fat 36
Saturated Fat 2g 10%
Trans Fat 0g
Cholesterol 32mg 10%
Sodium 80mg 3%
Total Carbohydrate 8g 2%
Dietary Fiber 4g 16%
Sugars 4g
Protein 8g 16%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs. wp-nutrition-label
Amount Per Serving
Calories 100 Calories from Fat 36
% Daily Value*
Total Fat 4g
6%
Saturated Fat 2g 10%
Trans Fat 0g
Cholesterol 32mg 10%
Sodium 80mg 3%
Total Carbohydrate 8g 2%
Dietary Fiber 4g 16%
Sugars 4g
Protein 8g 16%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs. wp-nutrition-label
See the official WordPress plugin page for wp-nutrition-label
You can also always find the latest updates to wp-nutrition-label on github.





Pingback: WP Plugin: Easy Nutrition Facts Label ยป HalGatewood.com