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.


This is what they look like :

Cheese Label

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


Download the Plugins

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).


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
Latest posts
Maple Butter Sauce Blueberry Bubble Cake Buchteln with Powidl Jam Czech cuisine Garlic Soup Mac and Cheese Soup
Top 10 Recipes
Chicken Parmigiana KFC Pepper Mayo Clamato Juice Outback Steakhouses Steak Seasoning How to Make Basic Fritter Batter The-Aussie-Egg-And-Bacon-Pizza
Food & Health
superfood Fish and Shellfish Poisoning Fish and Shellfish Poisoning Rockmelon Ripe Tomatoes Mercury in Fish