This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Below is an example (not the best one) but an example none the less! | |
*/ | |
[wt-if field="is-logged-in"] | |
Great you're logged in... | |
[wt-if-1 field="height"] | |
... and you have added a height. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------------------ | |
// Checking is logged in | |
// ------------------------------------------ | |
[wt-if field="is-logged-in"] | |
[wt-chart] | |
[else] | |
You must log in to see your chart. | |
[/wt-if] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wlt-calories progress="maintain" type="total"] | |
[wlt-calories progress="maintain" type="breakfast"] | |
[wlt-calories progress="maintain" type="lunch"] | |
[wlt-calories progress="maintain" type="dinner"] | |
[wlt-calories progress="maintain" type="snacks"] | |
[wlt-calories progress="lose" type="total"] | |
[wlt-calories progress="lose" type="breakfast"] | |
[wlt-calories progress="lose" type="lunch"] | |
[wlt-calories progress="lose" type="dinner"] | |
[wlt-calories progress="lose" type="snacks"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wt-macronutrients-table] | |
<!-- Maintain --> | |
[wt-macronutrients progress="maintain" type="total" nutrient="protein"] | |
[wt-macronutrients progress="maintain" type="total" nutrient="carbs"] | |
[wt-macronutrients progress="maintain" type="total" nutrient="fats"] | |
[wt-macronutrients progress="maintain" type="breakfast" nutrient="protein"] | |
[wt-macronutrients progress="maintain" type="breakfast" nutrient="carbs"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wlt-new-users days="7"] | |
[wlt-new-users days="30"] | |
[wlt-new-users days="365"] | |
[wlt-new-users days="7" count-all-roles="true"] |
NewerOlder