Arlo

Online Activity related shortcodes

The online activities are available from version 2.4

The following shortcodes can be used in the Arlo plugin for online activities.

[arlo_oa_list][/arlo_oa_list]

An iteration over the template's online activities

Must be used in the "Event" template.

[arlo_oa_list_item]

Represents an online activity

Must be used within the [arlo_oa_list] shortcode.

[arlo_oa_name]

Represents the online activity name, which can be different from the template.

Must be used within the [arlo_oa_list] shortcode.

[arlo_oa_code]

Represents the online activity code

Must be used within the [arlo_oa_list] shortcode.

[arlo_oa_delivery_description]

Represents the online activity delivery description.

Must be used within the [arlo_oa_list] shortcode.

[arlo_oa_offers]

Displays an HTML list of the available offers for the online activity with the corresponding tax settings. If the the online activity is free, it outputs "Free", or the given text in the Settings.

It also displays the available discounts for the online activity.

Must be used within the [arlo_oa_list] shortcode.

[arlo_oa_registration]

It outputs a button with the registration link, if the registration is available for the online activity.

If the registration is not available and a registration message is set, it outputs the given registration message.

Must be used within the [arlo_oa_list] shortcode.

[arlo_oa_reference_term]

It outputs the given referenc terms for the online activity

Attributes

  • type (string): Defines the type of the reference term
    • "singular": Outputs the singular reference term
    • "plural": Outputs the plural reference term
    Default: singular

Must be used within the [arlo_oa_list] shortcode.

[arlo_oa_credits]

It outputs the given credits for the online activity

Attributes

  • layout (string): Defines the layout of the output.
    • "list": Outputs an HTML list
    Default: list

Must be used within the [arlo_oa_list] shortcode.