Documentation and tips for setting up Weight Tracker on your WordPress site.
More:
Weight Tracker Plugin / GitHub / YeKen.uk
The majority of the public facing functionality are implemented using WordPress shortcodes. This allows you to place Weight Tracker functionality amongst your website content. For example, the most popular shortcode of the plugin is [wt]). To use a shortcode, place it amongst your website content) and save. The shortcode shall then be replaced by the plugin feature.
Shortcode | Description |
---|---|
[wt] | A shortcode that encompasses all Weight Tracker front end functionality [wt]. |
[wt-kiosk] | An extension of [wt] that allows the shortcode to be used in Kiosk mode. |
[wt-awards] | Display awards given to the user. |
[wt-awards-grid] | Display most recent award for the given user. |
[wt-awards-recent] | Display awards given to the user in gird format. |
[wt-bmi] | Display the user's BMI. |
[wt-bmi-calculator] | Displays a BMI calculator for your users to use. |
[wt-bmr] | Display the user's BMR. |
[wt-calculator] | Displays a form allowing your users to enter their DoB, gender, age, etc and have their BMI, BMR, suggested calorie intake and MacroN figures calculated for them. |
[wt-calories] | Displays a specific calorie figure from a user's calorie intake figures. |
[wt-calories-table] | Displays recommendations on the best way to split your calorie intake. |
[wt-chart] | Displays a chart of the user's weight / custom field entries. |
[wt-challenges] | Display a Challenge league table. |
[wt-challenges-optin] | Display buttons allow the using to opt in and out of Challenges. |
[wt-custom-fields-chart] | Displays a chart of the user’s custom field entries. |
[wt-custom-fields-form] | Displays a form for custom fields only. |
[wt-custom-fields-count] | Displays a count for the given custom field . |
[wt-custom-fields-latest] | Displays the latest value for the given custom field . |
[wt-custom-fields-oldest] | Displays the oldest value for the given custom field . |
[wt-custom-fields-previous] | Displays the previous value for the given custom field . |
[wt-custom-fields-table] | Displays a table of the user’s custom field entries. |
[wt-custom-fields-accumulator] | Allow user's to quickly increment a custom field value for today. |
[wt-form] | Display a target or weight entry / custom fields form. |
[wt-form-target] | Display a target form. |
[wt-group] | Display the user's current group. |
[wt-group-total-weight-loss] | Display the weight lost by the entire group. |
[wt-group-view-as-table] | Display a table of summary information for users within a given group. |
[wt-waist-to-hip-ratio-calculator] | Displays a Waist-to-Hip ratio calculator for your users to use. |
[wt-if] | Add conditional display logic based on whether WT data has been completed or not. |
[wt-league-table] | Display a league table of Weight Tracker users. |
[wt-macronutrients] | Displays a macronutrient figure from the macronutrient intake calculations. |
[wt-macronutrients-table] | Displays recommendations on the best way to split your calorie intake. |
[wt-message] | Display a message when a user has gained/lost weight over a number of consecutive entries. |
[wt-notes] | Display admin notes to the user. |
[wt-photo-count] | Display the number of photos uploaded by the current user. |
[wt-photo-gallery] | Display a gallery of the user's uploaded photos (custom fields). |
[wt-photo-oldest] | Display the the oldest photo uploaded by the user. |
[wt-photo-recent] | Display the the latest photo uploaded by the user. |
[wt-progress-bar] | Display a progress bar of the current user's progress towards their target weight. |
[wt-reminder] | Display reminders to logged in users informing them to add an entry or target for today. |
[wt-table] | Display a data table of the user's weight and custom fields entry. |
[wt-total-weight-loss-by-community] | Display the weight lost by the entire community. |
[wt-user-settings] | Display the user settings form. |