Nutrition Label Plugin for WordPress

Download

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
% 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 www.losangelesstyling.com

You can also always find the latest updates to wp-nutrition-label on github.

%d bloggers like this:
var _gaq = _gaq || []; var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; _gaq.push(['_require', 'inpage_linkid', pluginUrl]); _gaq.push(['_setAccount', 'UA-239812-12']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();