Descripció
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
, ornone
- 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%”]
Instal·lació
- Upload
bmi-calculator-shortcode.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
[bmi]
in your post
PMF
- Are there going to be more themes?
-
Yes, in future updates.
- How do I add my own theme?
-
You can use
none
as the theme to disable styling and add add your own styles.
Ressenyes
Col·laboradors i desenvolupadors
«BMI Calculator Plugin» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTradueix “BMI Calculator Plugin” a la teva llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
1.0
- Initial
1.0.1
- Minor performance fix
1.0.2
- Tested in 4.5.3
1.0.3
- Updated for 5.2.2