Build dynamic navigation menus and breadcrumbs using available link lists
Linklist | Description | Usage |
---|---|---|
linklist.main | Contains theme’s Main Menu | Primary navigation |
linklist.top | Contains theme’s Top Menu | Utility/secondary navigation |
linklist.footer | Contains theme’s Footer Menu | Footer navigation |
linklist.{name}
, each link has these properties:
Property | Type | Description |
---|---|---|
name | String | Menu item’s designation |
url | String | Menu item’s link address |
current | Boolean | True if visitor is on the current menu item |
hasChildren | Boolean | Check if menu item has sub-menu items |
hasChildren2 | Boolean | Check if second sub-menu item has sub-menu items |
hasChildren3 | Boolean | Check if third sub-menu item has sub-menu items |
hasChildren4 | Boolean | Check if fourth sub-menu item has sub-menu items |
children | Array | Object containing sub-menu items |
breadcrumbs
:
Property | Type | Description |
---|---|---|
title | String | Display text for this breadcrumb |
url | String | Link URL (empty for current page) |
last | Boolean | True if this is the current/last item |