Skip to content

Instantly share code, notes, and snippets.

@alicolville
Created September 5, 2017 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alicolville/a80d98cad4f3f5b50dba2ffcef4f1bf6 to your computer and use it in GitHub Desktop.
Save alicolville/a80d98cad4f3f5b50dba2ffcef4f1bf6 to your computer and use it in GitHub Desktop.
[wlt-if field="is-logged-in"]
[wlt-if-1 field="height, dob, activity_level, gender"]
<h2>Step 1 - tell us about you!</h2>
[wlt-user-settings allow-delete-data="false"]
[else-1]
[wlt-if-2 field="target"]
<h2>Step 2 - set yourself a target</h2>
It's great you're here to track your weight! Why not set yourself a target? This gives you something to aim for or helps you maintain your current weight.
[wlt-user-settings allow-delete-data="false"]
[else-2]
[/wlt-if-1]
[/wlt-if-1]
[else]
<h3>Please login / register</h3>
Before you can complete our fancy wizard you need to login.
[shortcode-variables slug="login-prompt"]
[/wlt-if]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment