BACK TO DIRECTORY

BeerXML Shortcode

by Derek Springer

4.9
(9 ratings)

A shortcode for displaying beer recipes. Now with Shortcake (Shortcode UI) integration!

  • Link to a BeerXML document to display recipe details, style details, fermentables, hops, miscs, yeast, mash steps, fermentation schedule, and notes.
  • Allows you to easily switch between U.S. & Metric measurements.
  • Control if & how long recipe is cached.
  • Allow readers to download the recipe directly.

It follows the basic format of:

[beerxml
recipe={URL}
metric=true|false
download=true|false
style=true|false
mash=true|false
fermentation=true|false
mhop=true|false
misc=true|false
actuals=true|false
cache=-1|{seconds to cache}]

Please note all options (minus recipe) are optional and have the following defaults:

  • metric = false
  • cache = 12 hours (60 x 60 x 12 seconds), -1 kills the cache and sets value to 0
  • download = true
  • style = true
  • mash = true
  • misc = true
  • actuals = true
  • fermentation = false
  • mhop = false

Screenshots

BeerXML recipe displayed in the twenty eleven theme.

BeerXML recipe displayed in the twenty eleven theme.

Inserting the shortcode into a post.

Inserting the shortcode into a post.

Insert Post Element option.

Insert Post Element option.

Insert Post Element details.

Insert Post Element details.

Plugin Details

Active Installs
100
Total Downloads
7,571
Version
0.8
Requires WP
3.4
Requires PHP
Tested Up To
6.8.8
Added
2012-08-14
Last Updated
2025-04-29 8:04pm GMT

Ratings

5
8
4
1
3
0
2
0
1
0