The following shortcode is available in the Pro Plus version only.

[wlt-calories-table] displays recommendations on the best way to split your calorie intake (for maintaining and losing) over the day. For more information on calorie calculations please visit our calculations page.

The following is an example of how the rendered table looks:

Shortcode Arguments

The shortcode supports the following arguments:

Argument Description Options Example
css-class Specifies an additional CSS class on the table tag String [wt-calories-table css-class="my-table-format-css"]
error-message When rendering the table, if an error occurs due to missing criteria (for example Date of Birth) a generic message is displayed. This can be replaced by specifying this argument. String [wt-calories-table error-message="Please complete all the fields on the preference page"]
user-id By default, the shortcode will display the calorie intake table for the current user. If you wish to display the table for a given user, use the following argument. A number. [wt-calories-table user-id="1"]
disable-jquery If set to true, the jQuery that converts the standard HTML into a responsive one is disabled. Instead, a standard HTML table will be rendered. True or False (default) [wt-calories-table disable-jquery=true]
Yes No Suggest edit
Help Guide Powered by Documentor
Suggest Edit