Manage and display your beers with WordPress. Integrates simply with Untappd and Untappd for Business. Great for everyone from home brewers to profess …
NOTICE: This plugin is no longer being actively developed or supported.
This plugin allows beer creators from home brewers to professional breweries to easily manage and display their beers. Includes a comprehensive beer management section with a variety of options, including:
Use these shortcodes to display beers in your posts or use the template tags in your theme files:
Single Beer Display
These will display a single beer entry given it’s ID number (found in “Beers” admin).
Shortcode:
[beer id={beer id}]
Template tag:
<?php echo EMBM_Output_Shortcodes_Beer_display( $beer_id, $args ); ?>
Where $beer_id
is required and $args
is a PHP array of comma-separated key => value
pairs. For example:
<?php echo EMBM_Output_Shortcodes_Beer_display( 123, array( 'show_profile' => false, 'show_extras' => true, 'show_rating' => false, 'show_checkins' => true, 'checkins_count' => 10 ) ); ?>
Options:
For use with both the shortcode and template code.
show_profile => "true, false"
(Default = true
)
Displays or hides the “Beer Profile” information section
show_extras => "true, false"
(Default = true
)
Displays or hides the “More Beer Information” section
show_rating => "true, false"
(Default = true
)
Displays or hides the Untappd beer rating
show_checkins => "true, false"
(Default = true
)
Displays or hides the Untappd check-ins section
checkins_count => "number"
(Default = 5
, limit is 15
)
The number of recent Untappd check-ins to display
List All Beers
These will display a formatted listing of all beers.
Shortcode:
[beer-list]
Template tag:
<?php echo EMBM_Output_Shortcodes_List_display( $args ); ?>
Where $args
is a PHP array of comma-separated key => value
pairs. For example:
<?php echo EMBM_Output_Shortcodes_List_display( array( 'show_extras' => false, 'show_rating' => true, 'beers_per_page' => 3, 'orderby' => 'name', 'order' => 'ASC' ) ); ?>
Options:
For use with both the shortcode and template code.
show_profile => "true, false"
(Default = true
)
Displays or hides the “Beer Profile” information section
show_extras => "true, false"
(Default = true
)
Displays or hides the “More Beer Information” section
show_rating => "true, false"
(Default = true
)
Displays or hides the Untappd beer rating
style => "style name"
(String e.g. "india-pale-ale, pale-ale"
)
Displays only beers belonging to specific beer styles
group => "group name"
(String e.g. "Seasonal, Barrel-Aged"
)
Displays only beers belonging to specific groups
exclude => "beer ids"
(Comma-separated list of beer IDs e.g. "4,23,24"
)
Hides listed beers from output
beers_per_page => "number"
(Default = -1
, shows all beers on one page)
Paginates output and displays the given number of beers per page
offset => "number"
(Default = 0
, starts at the first beer)
Offsets the output of beers by given number
paginate => "true, false"
(Default = true
)
Disables/enables pagination
orderby => "string"
(Default = date
, see this list for options)
Orders output by given paramater
order => "DSC, ASC"
(Default = DSC
)
Sorts beer list by orderby
value in ascending or descending order
Beer Menu Display
These will display a beer menu given it’s Name, Slug, or ID number.
Shortcode:
[beer-menu menu={menu id}]
Template tag:
<?php echo EMBM_Output_Shortcodes_Menu_display( $args ); ?>
Where $args
is a PHP array of comma-separated key => value
pairs. For example:
<?php echo EMBM_Output_Shortcodes_Menu_display( 'Taproom Menu', array( 'show_rating' => false, 'show_last_updated' => true, 'show_thumbnail' => true, 'show_description' => false, ) ); ?>
Options:
For use with both the shortcode and template code.
show_rating => "true, false"
(Default = true
)
Displays or hides the Untappd beer rating
show_last_updated => "true, false"
(Default = true
)
Displays or hides the menu’s last updated timestamp
show_thumbnail => "true, false"
(Default = true
)
Displays or hides the beer featured image thumbnails
show_description => "true, false"
(Default = true
)
Displays or hides the menu section descriptions
I would love to be able to expand this section – let me know if you are able to contribute!
em-beer-manager.zip
file to the /wp-content/plugins/
directoryNew in v3.2.0, you can enable the “Delete Missing” feature when running either an Untappd or Untappd for Business (UTFB) sync.
For an Untappd sync, this means that if any beers associated with an Untappd ID are no longer found on Untappd, they will be moved to the trash. You can permanently delete these beers from the WordPress trash interface.
For a UTFB sync, this means that if any menus associated with an UTFB ID are no longer found on your UTFB account, they will be PERMANENTLY deleted. This will not affect any of the beers that are associated with the menu.
If you do not want the sync feature to make any changes to or delete a specific beer or menu, enable the “Exclude from Sync” checkbox, located on both the menu and beer edit pages.
Yes! New in v3.1.0, you can apply content filters to different parts of EM Beer Manager’s output:
embm_beer_filter_beer
= The full beer post contentembm_beer_filter_untappd
= The Untappd check-in buttonembm_beer_filter_profile
= The beer profile contentembm_beer_filter_extras
= The beer extras contentembm_beer_filter_rating
= The full beer rating contentembm_beer_filter_rating_stars
= Just the stars of the rating contentembm_beer_filter_rating_styles
= CSS styles for the rating starsembm_beer_filter_reviews
= The beer reviews contentUntappd for Business (UTFB) account credentials do not work with Untappd’s API. In order to link Untappd data to beers imported from UTFB, Untappd API access is also needed.
An Untappd brewery account is not required to work with UTFB. A standard user account will work.
You can find your API key under the “API Access Tokens” section of your account.
From the Untappd API documentation:
"All API applications are rate-limited to protect against abuse and keep the platform healthy. The default limit for API access is 100 calls per hour per key."
If you see this message, it means your authenticated API session has reached this limit and any actions that require an API call will be limited until your access is reset in the next hour.
In most cases you should still be able to use all of the Untappd features with cached data, but rare cases may display a rate-limit warning message when no cached data is available.
New in v2.1.0 is the EM Beer Manager ‘Labs’. This is a section where we plan to introduce new and experimental features for users to test. We do test all of the lab features before making them available, but cannot guarantee that there won’t be any issues or bugs when using them, since they are still being worked on. If you experience any issues while using a Labs feature, please contact [email protected].
Starting with v2.1.0 you can now access and update EM Beer Manager beers, styles, and groups from the WordPress API.
Beers can be accessed using /wp-json/wp/v2/embm_beers
or individually at /wp-json/wp/v2/embm_beers/<beer_id>
.
Styles can be accessed using /wp-json/wp/v2/embm_styles
or individually at /wp-json/wp/v2/embm_styles/<style_id>
.
Groups can be accessed using /wp-json/wp/v2/embm_groups
or individually at /wp-json/wp/v2/embm_groups/<group_id>
.
Menus can be accessed using /wp-json/wp/v2/embm_menus
or individually at /wp-json/wp/v2/embm_menus/<menu_id>
.
Additionally, beer profile, extras, and Untappd information is available via the API and is able to be updated via POST/PUT calls.
Starting with v2.0.0, users are now able to easily restore any missing styles. Go to the EM Beer Manager settings page. Under the “Settings” tab, click on the “Restore Styles” button. This will restore any missing styles from the pre-populated Untappd list. It will not affect any already existing or any custom styles.
EM Beer Manager updated the beer database structure in v1.7.0 and should automatically make any necessary changes. However in the case that the automatic update does not work, you will need to uninstall EM Beer Manager and install the latest v1.7.x or higher release to maintain functionality. You will not lose any of your Beer or Styles data when uninstalling the older version.
When creating your new beer entry, set the “featured image” option in the sidebar to the beer image you wish to use, it will display alongside the entry when the beer is displayed on your site.
Use the [beer id=#]
shortcode inside the WordPress page editor to add a beer to any page. Replace the “#” with the ID of the beer you wish to display, which is listed on the “Beers” admin page.
Use the [beer-list]
shortcode inside the WordPress page editor to add a list of all your beers to any page.
You can display only beers from a single group using the group
option, e.g.: [beer-list group="Seasonal Beers"]
You can display only beers from a single style using the style
option, e.g.: [beer-list style="India Pale Ale"]
For both the [beer id=#]
and [beer-list]
shortcodes there are 2 optional attributes of show_profile
and show_extras
. Set both of these to false
to hide the grey box.
Example: [beer-list show_profile="false" show_extras="false"]
The show_profile
setting refers to all the content in the “Beer Profile” information stored for each beer. This includes ABV, IBU, Hops, Malts, Additions, and Yeast.
The show_extras
setting refers to the “Extra Beer Information” content stored for each beer. This includes Beer Number, Availability, and Additional Notes.
The Untappd check-in integration is handled separately from the show_extras
setting. To hide the button for a single beer, make sure the “Untappd Check-in URL” box is empty – a square Untappd check-in icon will appear on the “Beers” admin page next to the beers where the button is active. You can also completely disable the Untappd options through the “EM Beer Manager” settings page.
Try refreshing your permalinks by going to “Settings” -> “Permalinks” and clicking the “Save Settings” button. If you are running EM Beer Manager 1.7.1 or earlier, it may be due to your site’s theme overriding the EM Beer Manager templates. We recommend updating to version 1.8.0 or higher, but you can also edit the templates in the plugin file to suit your needs. They’re located in wp-content -> plugins -> em-beer-manager -> templates.
beer-list
shortcodebeer-menu
shortcode for displaying beer menus[beer]
shortcode where debugging output was being output