Usage:
This shortcode returns one or more scheduled appointments for the current, logged in contact/user.
This shortcode does NOT supports conditional branching with [ELSE_appointment].
Shortcode nesting is NOT supported.
Parameters:
onlyfuture | Only show future appointments: ‘yes’ or ‘no’. Required: no. Default: ‘yes’. |
number | How many appointments to display. Use ‘0’ for all or the desired number of appoint to display. Required: no. Default: ‘1’. |
formatFULL | Defines the PHP date format for an appointment’s “full” date/time display. Required: no. Default: ‘F j, Y g:i a’. |
formatDATE | Defines the PHP date format for an appointment’s date display. Required: no. Default: ‘F j, Y’ |
formatTIME | Defines the PHP date format for an appointment’s time display. Required: no. Default: ‘g:i a’ |
formatDOWS | Defines the PHP date format for an appointment’s short “day of week” display (i.e. Mon, Tue, etc). Required: no. Default: ‘D’ |
formatDOWL | Defines the PHP date format for an appointment’s long “day of week” display (i.e. Monday, Tuesday, etc). Required: no. Default: ‘l’ (lower case “L”) |
Example:
<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>
API:
There is no API function equivalent for this shortcode.