You are viewing an older version of the Navigation documentation (2.x). View the latest version (3.x) →
Template Guides

Navigation Field

You can use the navigation field to allow entries and other elements to select a navigation to show. In your templates, when calling the field (ie {{ entry.navigationField }}) you'll be returned the handle for the navigation.

{{ craft.navigation.render(entry.navigationField) }}