WordPress Plugins – Information Tables

[toc]Nutrition labels are a wonderful way to present the data of any food item, but they don’t really help with the “properties” of cheese. By properties I’m talking about such information as the origin, milk type, flavour, texture, etc. What I wanted was to have an easy way to display the cheese information in a format similar to a Nutrition Label.

I had already been using a nutritional data plugin called “wp-nutrition-label” in our glossary for fruit and vegetable entries so decided that a workover of the plugin code could make a reasonable information table for cheese varieties.

And so, after a couple of weekends of deciding what information it should have and what the layout should be I got to the coding. And now I have two new plugins.  Why 2 you ask ? I decided that seafood could also benefit from its own easy data table of information as well so I coded that as well.

Live Examples of plugins in use on a post : Seafood Data and Cheese Information.

Screenshots

This is what they look like :

Cheese Label

Akkawi
Nutrition & Summary
Amount Per Serving Size of 100g

Calories 390 Calories from Fat 270
% Daily Value*
Total Fat 30g 46%
Saturated Fat 20g 100%
Trans Fat g
Cholesterol 40mg 13%
Sodium 640mg 28%
Potassium 0mg 0%
Total Carbohydrate 0g 0%
Dietary Fibre 0g 0%
Sugars 0g
Protein 20g 40%

Vitamin A  0% Folate  0%
Vitamin C  0% Vitamin D  0%
Calcium  0% Iron  0%

*Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Milk Source :  Cow, Goat, Sheep
Origin :  State of Palestine
Region :  Aker
Type :  Soft
Family :  Feta
Rind :  Natural
Pasteurised :  Yes
Fat Content : 
Texture :  Smooth, Elastic, Springy
Colour :  White
Flavour :  Mild, Milky, Salty
Aroma :  Mild, Milky
Aging Time : 
Vegetarian :  No

Seafood Data

Blacklip Abalone
Scientific Name :  Haliotis rubra
Nutrition & Summary
Amount Per Serving Size of 100g

Calories 93.69 Calories from Fat 6.84
% Daily Value*
Total Fat 0.76g 1%
Saturated Fat 0.149g 1%
Trans. Fat 0g
Polyunsat. Fat 0.104g
Omega-3   0.094g
Cholesterol 85mg 28%
Sodium 301mg 13%
Potassium 250mg 8%
Total Carbohydrate 3.14g 1%
Dietary Fibre 0g 0%
Sugars 0g
Protein 17.10g 34%

Vitamin A  0% Folate  1%
Vitamin C  2% Vitamin D  0%
Calcium  3% Iron  18%

*Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Flavour :  Mild to Strong
Oiliness :  Low
Moisture :  Moist
Habitat :  Saltwater
Texture :  Firm
Flesh :  Both raw and cooked forms have cream-coloured meat with a black, brown or apple-green frill.
Thickness :  n/a
Bones :  n/a
Season :  Wild stock is harvested year round, farmed is harvested mainly in summer.
Size and Weight :  Live Abalone is 250g-350g when fully grown, with the shell measuring 13-17cm
Price :  One of Australia’s most highly valued fisheries products, live it often retails for around A$100/kg.
Family :  Haliotidae (abalones).
Other Names :  Muttonfish
Relations :  There are 18 Abalone species in Australian waters including Greenlip Abalone, Tiger Abalone (a hybrid of Blacklip and Greenlip), Brownlip Abalone and Roe’s Abalone. New Zealand Paua is also an Abalone.

Data Input Forms

This is what the input forms look like. Simply add the information and save then use the shortcode on your post.[brclearboth]
Cheese Infobox 1

Dashboard Additions

This is what the additions are to your Dashboard[brclearboth]Dashboard screenshot

[brclearboth]

Download the Plugins

[sociallocker id=”39245″]

[/sociallocker]

Support for the Plugins

If you have a question, ask it below in the comments section below. You’ll get a quick answer (depending on your time zone).

FAQ

Spelling of Fibre / Fiber

In Australia we spell it FIBRE, but if you spell it FIBER make the following code change to the php file. It is the same line of code in both plugins.
Change this line of code:

$rtn .= " " . __("Dietary Fibre")." ".$fiber . "g\n";

to this line of code:

$rtn .= " " . __("Dietary Fiber")." ".$fiber . "g\n";

Comments and Feedback
 

Be the First to Comment!

Notify of
avatar
 
smilegrinwinkmrgreenneutraltwistedarrowshockunamusedcooleviloopsrazzrollcryeeklolmadsadexclamationquestionideahmmbegwhewchucklesillyenvyshutmouthapplausewhat-is-thatwell-donewant-a-tasteparty-animal
wpDiscuz
Around The Web
 
loading...
 
Hi There - We notice that you have an ad-blocker
Plenty of visitors do. All we ask is that you please consider sharing us or commenting on the post as a nice gesture.
Thank you for visiting The Taste of Aussie
Your Information will never be shared with any third party.
OR
General Profile
User Information
John Doe
Professor of Botanics
Born and raised in Dublin, Ireland, John is a superior specialist in growing palms and exotic plants.
Social rating:
OR
ARE YOU READY? GET IT NOW!
Vel eros amet amet mauris a habitasse scel erisque? Vel urna dis et, placerat phasellus, diam in! Placerat nec facilisis, tortor tristique. Arcu placerat sagittis, velit lorem scelerisque egestas placerat.
Subscribe Now
Join our weekly newsletter for more great recipes
OR
Just before you go
Please consider sharing us or commenting
on the post as a nice gesture.
Thank you for visiting The Taste of Aussie
Just before you go - please share us with your friends and followers.
Thank you for visiting
The Taste of Aussie
Subscribe Now
Join our free weekly newsletter to get the best recipes and cooking information.
OR
Recipe Newsletter
Subscribe to our ad-free newsletter and get new recipes and cooking info every weekend
Or use Social Media to Sign-up
PROBABLY THE BEST SITE
IN THE WORLD
IS GIVING YOU THE CHANCE TO SUBSCRIBE
TO PROBABLY THE BEST NEWSLETTER IN THE WORLD
OR