Arlo

Template level shortcodes

The following shortcodes can be used in the Arlo plugin's templates.

[arlo_group_divider]

In [arlo_event_template_list_item] shortcode, it shows a text according to the chosen grouping method.

In [arlo_upcoming_list_item] shortcode, it shows the full textual representation of the month.

Must be used within the [arlo_event_list] or the [arlo_upcoming_list_item] shortcodes or in the "Catalogue" template.

Example

[arlo_upcoming_list_item]
    [arlo_group_divider wrap='<li class="arlo-cf arlo-group-divider">%s</li>']
    ...
[/arlo_upcoming_list_item]

It will output the following HTML code

                ...
                <li class="arlo-cf arlo-group-divider">September</li>
                ...
                <li class="arlo-cf arlo-group-divider">October</li>
                ...
            

[arlo_label][/arlo_label]

A placeholder shortcode with the global attributes, returns the given shortcodes within the opening and closing tag.

Example

[arlo_label wrap="<span class='arlo-event-time'>%s<span>"]
    [arlo_event_start_date format="%a %I:%M %p"][arlo_event_end_date format="%a %I:%M %p" label=" - "]
[/arlo_label]

It will output the following HTML code

                <span class='arlo-event-time'>Tue 10:00 AM - Wed 5:00 PM<span>