Arlo

Category related shortcodes

The following shortcodes can be used in the Arlo plugin.

[arlo_categories]

Outputs an HTML list with the available categories, like a category tree.

Attributes

  • depth (int): Can control the depth of the tree.
    Default: 1
  • title (string): A title will be shown before the category list. If the given text contains a type specifier (%s), it will be replaced with the name of the root category.
  • count (string): A string with a type specifier (%s or %d), which will be replaced with the number of the templates within the category and its subcategories.

Must be used within the "Catalogue" template and "Upcoming events" template

[arlo_category_title]From: v2.4

Returns the title of the category. If no category is given, returns the title of the root category.

Must be used within the "Catalogue" template and "Upcoming events" template

[arlo_category_header]

Returns the header text of the category. If no category is given, returns the header text of the root category.

Must be used within the "Catalogue" template and "Upcoming events" template

Returns the footer text of the category. If no category is given, returns the footer text of the root category.

Must be used within the "Catalogue" template and "Upcoming events" template