i4w_appointment
Usage
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.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| onlyfuture | Only show future appointments: 'yes' or 'no'. | yes | No |
| number | How many appointments to display. Use '0' for all or the desired number of appointments to display. | 1 | No |
| formatFULL | Defines the PHP date format for an appointment's "full" date/time display. | F j, Y g:i a | No |
| formatDATE | Defines the PHP date format for an appointment's date display. | F j, Y | No |
| formatTIME | Defines the PHP date format for an appointment's time display. | g:i a | No |
| formatDOWS | Defines the PHP date format for an appointment's short "day of week" display (i.e. Mon, Tue, etc). | D | No |
| formatDOWL | Defines the PHP date format for an appointment's long "day of week" display (i.e. Monday, Tuesday, etc). | l | No |
Example
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>