Shortcodes

[wt-bmi]

The following shortcode is only available in the Pro version of the plugin.

This shortcode can be used to display the user’s latest BMI and has the following arguments:

Argument Description Options Example
display Specifies the output of the shortcode. The "display" argument has the following options: display="index" [Default] - Renders the numerical value of the person's BMI. display="label" - displays the readable BMI label e.g. Healthy, Overweight, etc. display="both" - displays both the label and numerical value. [wt-bmi display='both']
no-height-text The "no-height-text" allows you to specify the message that is displayed to the user when they haven't entered their height. String [wt-bmi no-height-text='To view your BMI, please enter your height.']
Yes No Suggest edit
Help Guide Powered by Documentor
Suggest Edit