Skip to content

i4w_appointment

This shortcode returns one or more scheduled appointments for the current, logged in contact/user.

[ELSE_appointment] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

ParameterDescriptionDefaultRequired
onlyfutureOnly show future appointments: ‘yes’ or ‘no’.yesNo
numberHow many appointments to display. Use ‘0’ for all or the desired number of appointments to display.1No
formatFULLDefines the PHP date format for an appointment’s “full” date/time display.F j, Y g:i aNo
formatDATEDefines the PHP date format for an appointment’s date display.F j, YNo
formatTIMEDefines the PHP date format for an appointment’s time display.g:i aNo
formatDOWSDefines the PHP date format for an appointment’s short “day of week” display (i.e. Mon, Tue, etc).DNo
formatDOWLDefines the PHP date format for an appointment’s long “day of week” display (i.e. Monday, Tuesday, etc).lNo
Shortcode
<div>Your next coaching call(s) are scheduled for:
[i4w_appointment onlyfuture='yes' number='0']
<ul>
<li>Day of Week: ~ActionDateDOWL~</li>
<li>Date: ~ActionDateDATE~</li>
<li>Start Time: ~ActionDateTIME~</li>
<li>End Time:~EndDateTIME~</li>
<li>Description: ~ActionDescription~</li>
<li>Creation Notes: ~CreationNotes~</li>
<li>Completion Date: ~CompletionDateFULL~</li>
</ul>
[/i4w_appointment]
</div>