이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

BeerXML Shortcode

설명

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

스크린샷

  • BeerXML recipe displayed in the twenty eleven theme.
  • Inserting the shortcode into a post.
  • Insert Post Element option.
  • Insert Post Element details.

설치

  1. Upload the files to the /wp-content/plugins/beerxml-plugin/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Admin Dashboard -> Settings -> BeerXML Shortcode and configure defaults.

FAQ

Installation Instructions
  1. Upload the files to the /wp-content/plugins/beerxml-plugin/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Admin Dashboard -> Settings -> BeerXML Shortcode and configure defaults.

후기

2018년 3월 13일
Straight-forward plugin that makes sharing homebrew recipes in your blog simple to do they look great! The plugin author responds quickly to support posts too! Thanks for the great plugin!
모든 9 평가 읽기

기여자 & 개발자

“BeerXML Shortcode”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“BeerXML Shortcode”(이)가 3(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “BeerXML Shortcode”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.7.1

  • Updated XML mime type to avoid blocked XML uploads

0.7

Brülosopher’s Baby

  • Added ‘mhop’ flag to display hops in metric after a request by Brülosopher 🙂
  • Made Miscs section optional using misc=true|false option (defaults to on).
  • Added Actuals row to Details table using actuals=true|false (defaults to on).
  • Extended length of Document URL field in Shortcake UI.

0.6.1

  • Fix for weights improperly swapping at exactly 1 lb/kg.

0.6

  • Weight will display oz if < 1 lb or g if < 1 kg.
  • Set mash schedule to default on.
  • Updated ‘Tested up to’ to 4.4.

0.5

  • Shortcake (Shortcode UI) integration. When Shortcake is installed you will now be able to insert recipes via the Add Media->Insert Post Element option. Additionally, the BeerXML shortcode will now render in the visual editor.
  • Moved wp_set_object_terms for post to outside build_style function. Beer Style should now be set for the post even if you choose not to display beer style details.

0.4

Tom Sawyer edition: thanks to ksolomon and jksnetwork for their pull requests.

  • Custom taxonomy for the beer style. Creates an archive of all beers added for each style with link to the list of beers for each style. @ksolomon
  • Added mash and fermentation details, defaulted to off. To include add mash=true or fermentation=true to shortcode or update the settings in the admin menu. @jksnetwork

0.3.2

  • Added default for miscs that don’t have display_value.

0.3.1

  • Updated uninstall.php to remove options (including multisite) upon uninstall.
  • Updated XML retrieval to use wp_remote_get instead of file_get_contents, which caused some folks issues.
  • Added settings link to plugins page.

0.3

  • Added Beer Style details section.
  • Added % to fermentables.
  • Added XML parsing security update I picked up at WCSF.

0.2

  • Escaped XML parsing.
  • Added admin menu to set default values for shortcode.
  • Tweaked markup and added Miscs, Notes, and Download section.
  • Added new ‘download’ parameter to shortcode to allow readers to directly download BeerXML file.

0.1.1

  • Added text/xml as acceptable mime type for BeerXML document self-hosting.

0.1

  • First cut, allows basic display of details, fermentables, hops, and yeast information in U.S. or metric units.