Skip to content

Instantly share code, notes, and snippets.

@alicolville
Last active September 5, 2017 14:50
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/9f6a69032bd72449ee4c035e6dc8a0b5 to your computer and use it in GitHub Desktop.
Save alicolville/9f6a69032bd72449ee4c035e6dc8a0b5 to your computer and use it in GitHub Desktop.
[wlt-if field="is-logged-in"]
[wlt-if-1 field="height, dob, activity_level, gender" operator="not-exists"]
<h2>Step 1 - tell us about you!</h2>
[wlt-user-settings allow-delete-data="false"]
[else-1]
[wlt-if-2 field="target" operator="not-exists"]
<h2>Step 2 - set yourself a target</h2>
Time to set yourself a target - this will give you something to aim for!
[wlt-form target="true"]
[else-2]
[wlt-if-3 operator="not-exists"]
<h2>Step 3 - add your first entry</h2>
Great, we're almost there! No time like the present, let's add your first entry!
[wlt-form]
[else-3]
<h2>We're done!</h2>
Thanks for your patience. You can fully intereact with the website!
[wlt-progress-bar]
[/wlt-if-3]
[/wlt-if-2]
[/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