Arlo

Online Activity related shortcodes

The following shortcodes can be used in the Arlo for WordPress 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_item] or the [arlo_onlineactivites_list_item] shortcodes.

[arlo_oa_code]

Represents the online activity code

Must be used within the [arlo_oa_list_item] or the [arlo_onlineactivites_list_item] shortcodes.

[arlo_oa_delivery_description]

Represents the online activity delivery description.

Must be used within the [arlo_oa_list_item] or the [arlo_onlineactivites_list_item] shortcodes.

[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_item] or the [arlo_onlineactivites_list_item] shortcodes.

[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_item] or the [arlo_onlineactivites_list_item] shortcodes.

[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_item] or the [arlo_onlineactivites_list_item] shortcodes.

[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_item] or the [arlo_onlineactivites_list_item] shortcodes.

[arlo_oa_rich_snippet]From: v3.3

Outputs the rich snippet data for the online activity.

Attributes

  • link (string): it can be one of the following
    • "permalink": Link to the online activity in the WordPress instance
    • "viewuri": Link to the online activity in Arlo
    Default: "permalink"

Must be used within the [arlo_oa_list_item] or the [arlo_onlineactivites_list_item] shortcodes.