Arlo

Upcoming events related shortcodes

The following shortcodes can be used in the Arlo plugin.

[arlo_upcoming_event_filters]

Creates different dropdowns to filter the upcoming events list.

Attributes

  • filters (string): Can be used to define which filter dropdown will be shown. It is a comma separated list with the following items:
    • "category": a dropdown with all the available categories (nested)
    • "month": a dropdown with the names of the months, starts with the current month
    • "location": a dropdown with all the available locations
    • "presenter": a dropdown with all the available locations
      From: v3.1.3
    • "delivery": a dropdown to filter the events by its delivery, with the following options:
      • "Online (Webinar)": Online events
      • "Workshop": Offline events
  • resettext (string): The displayed text for the reset button
  • buttonclass (string): a CSS class name for the reset button

Must be used within the "Upcoming events" template.

[arlo_upcoming_list_item][/arlo_upcoming_list_item]

The shortcode represents an event in the upcoming events list.

Attributes

  • limit (int): The default item per page can be override with this attribute. The default value is inherited from the WordPress "Posts per page" setting.

If the attributes is used in the [arlo_upcoming_list_item] shortcode, it's necessary to add with the same value to the [arlo_upcoming_list_pagination] for the correct count of the items.

Must be used within the "Upcoming events" template.

[arlo_upcoming_list_pagination]

The shortcode will be replaced to a pager related to the upcoming events list. It uses the default paging function of the WordPress.

Attributes

  • limit (int): The default item per page can be override with this attribute. The default value is inherited from the WordPress "Posts per page" setting.

If the attributes is used in the [arlo_upcoming_list_item] shortcode, it's necessary to add with the same value to the [arlo_upcoming_list_pagination] for the correct count of the items.

Must be used within the "Upcoming events" template.

[arlo_upcoming_offer]

outputs the price of the event with the corresponding tax settings. If the the event is free, it outputs "Free", or the given text in the Settings.

Must be used within the [arlo_upcoming_list_item] shortcode.

[arlo_upcoming_region_selector] From: v2.3

Creates a select drop down with the available regions. If there is no region specified, it returns nothing.

Must be used within the "Upcoming events" template.