Other useful text shortcodes
[wlt-weight-diff]
The total weight lost by the logged in member.
[wlt-weight-start]
The start weight of the logged in member.
[wlt-weight-previous] (7.0.6+)
The previous weight of the logged in member.
[wlt-weight-difference-previous] (7.0.9+)
Display the difference between the user’s current weight and the previous entry.
[wlt-weight-most-recent]
The most recent weight entered by the logged in member.
[wlt-target]
Display the logged in user’s current target weight.
[wlt-weight-diff-from-target]
Display the difference between the current user’s most recent weight entry and their target weight.
[wlt-height] (5.1+)
Displays the user’s height. It also supports the argument “not-specified-text” so you can display a message the user hasn’t specified their height e.g.
[wlt-height not-specified-text=”No height specified”]
or to blank the default text:
[wlt-height not-specified-text=””]
[wlt-gender] (5.1+)
Displays the user’s gender. It also supports the argument “not-specified-text” so you can display a message the user hasn’t specified their gender e.g.
[wlt-gender not-specified-text=”No gender specified”]
or to blank the default text:
[wlt-gender not-specified-text=””]
[wlt-dob] (5.1+)
Displays the user’s Date of Birth. It also supports the argument “not-specified-text” so you can display a message the user hasn’t specified their DOB e.g.
[wlt-dob not-specified-text=”No DOB specified”]
or to blank the default text:
[wlt-dob not-specified-text=””]
[wlt-activity-level] (5.1+)
Displays the user’s Activity Level. It also supports the arguments “not-specified-text” and “shorten”. “not-specified-text” allows you to display a message the user hasn’t specified their Activity Level e.g.
[wlt-activity-level not-specified-text=”No activity level specified”]
or to blank the default text:
[wlt-activity-level not-specified-text=””]
The second argument “shorten” if set to true shortens the string returned for Activity Level – some levels have more information in brackets (for example Moderate exercise (3-5 days/wk)), this is removed if shorten is set to true.
[wlt-new-users] (5.1+)
Displays the number of newly registered users in the last x days. By default, it will set the number of days to 7. It supports the following arguments;
“days” – the number of days to look back. For example, to show the number of registered users in the last year you would use: [wlt-new-users days=365]
“count-all-roles” – by default, it will only count new users that have a role of “Subscriber”. If you wish to count all roles (administrators, editors, etc) then set this to “true” e.g. [wlt-new-users count-all-roles=true]