Arlo

Template shortcodes

The following shortcodes can be used in the Arlo plugin.

[arlo_venue_list_item][/arlo_venue_list_item]

The shortcode represents a venue.

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_venue_list_item] shortcode, it's necessary to add with the same value to the [arlo_venue_list_pagination] for the correct count of the items.

Must be used within the "Venues list" template.

[arlo_venue_list_pagination]

The shortcode will be replaced to a pager related to the venues list. It uses the default paging function of 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_venue_list_item] shortcode, it's necessary to add with the same value to the [arlo_venue_list_pagination] for the correct count of the items.

Must be used within the "Venues list" template.

[arlo_venue_name]

It outputs the name of the venue.

Must be used within the [arlo_venue_list_item] shortcode.

Represents the URL of the venue within the WordPress instance.

Must be used within the [arlo_venue_list_item] shortcode.

[arlo_venue_map]

It outputs an image from GoogleMaps.

Attributes

  • height (int): The height of the image.
    Default: 400
  • width (int): The width of the image.
    Default: 400
  • zoom (int): The zoom settings for GoogleMaps.
    Default: 16

Must be used within the [arlo_venue_list_item] shortcode.

[arlo_venue_address]

Returns the address for the venue.

Attributes

  • items (int): A comma separated list, which defines which address field will be returned. The default value contains all the available fields.
    Default: line1, line2, line3, line4, suburb, city, state, post_code, country
  • layout (int): Defines the layout of the layout of the output.
    • "list": Outputs an HTML list
    Default: Outputs a comma separated list.

Must be used within the [arlo_venue_list_item] shortcode.

[arlo_venue_directions]

It outputs the given directions for the venue.

Must be used within the [arlo_venue_list_item] shortcode.

[arlo_venue_parking]

It outputs the given parking information for the venue.

Must be used within the [arlo_venue_list_item] shortcode.