Arlo

Venue related shortcodes

The following shortcodes can be used in the Arlo for WordPress 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] and [arlo_venue_list_rich_snippet] 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] and [arlo_venue_list_rich_snippet] 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] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

Represents the URL of the venue within the WordPress instance.

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

Represents the URL of the venue within Arlo.

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

[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
  • type (string): Whether to display a dynamic or static Google Map.
    Default: 'dynamic'

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

[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.
  • link (string): Use this attribute to specify a link to wrap the address in. It can be one of the following or any valid url.
    • "permalink": Wraps the address in a link to the venue in the WordPress instance.
    • "viewuri": Wraps the address in a link to the venue in Arlo.
    • "map": Wraps the address in a link to the venue in the WordPress instance.
    Default: None.

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

[arlo_venue_directions]

It outputs the given directions for the venue.

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

[arlo_venue_parking]

It outputs the given parking information for the venue.

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

[arlo_venue_locationname]From: v4.1

It outputs the given location for the venue.

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

Outputs a link to an Event list filtered by Venue

Attributes

  • link_page (string): Use this attribute to specify the page to link to. It can be one of the following options.
    • "upcoming": Outputs link to Upcoming page filtered by this Venue.
    • "schedule": Outputs link to Schedule page filtered by this Venue.
    Default: "upcoming".

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.

[arlo_venue_rich_snippet]From: v3.3

Outputs the rich snippet data for the venue.

Attributes

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

Must be used within the [arlo_venue_list_item] or the [arlo_event_list_item] or the [arlo_upcoming_list_item] shortcodes.