內容簡介
使用 [bmi] 短碼可在您的網誌中新增一個計算體重指數的計算機。請參閱預覽截圖。
此外掛有內建 3 種風格:Material Design、Bootstrap 和預設樣式(使用您的佈景主題樣式)。
選項:
theme – material、clean、default 或 none
metric – 公制標籤文字
imperial – 英制標籤文字
height – 身高標籤文字
weight – 體重標籤文字
heightPlaceholder – 身高輸入框的提示文字
weightPlaceholder – 體重輸入框的提示文字
submit – 送出的按鈕文字
result – 計算後顯示結果的文字,可使用 %bmi% 來代表計算出來的體重指數
範例:
[bmi theme=”clean”]
[bmi theme=”material” heightPlaceholder=”輸入您的身高” submit=”計算您的體重指數!” result=”您的體重指數是 %bmi%”]
外掛標籤
開發者團隊
原文外掛簡介
Add a body mass index calculator to your blog by using the [bmi] shortcode. See the screenshots for previews.
There are 3 built-in styles: material design, Bootstrap, and default (your theme’s styles).
Options:
theme – material, clean, default, or none
metric – Label text for metric section
imperial – Label text for imperial section
height – Label text for height input
weight – Label text for weight input
heightPlaceholder – Placeholder text for height input
weightPlaceholder – Placeholder text for weight input
submit – Text for submit button
result – Text for result, use %bmi% to represent the calculated BMI
Examples:
[bmi theme=”clean”]
[bmi theme=”material” heightPlaceholder=”Enter your height” submit=”Calculate your BMI!” result=”Your BMI is %bmi%”]
