Search by

olivestudio / craft-olivemenus

alin.istrate

Build nested, site-specific navigation menus from Craft content and custom links.

Package info

github.com/OliveStudio/olivemenus

Documentation

Type:craft-plugin

pkg:composer/olivestudio/craft-olivemenus

Statistics

Installs: 19 523

Dependents: 1

Suggesters: 0

Stars: 39

Open Issues: 0

5.3.0 2026-11-28 07:37 UTC

README

Olive Menus by Olive Studio, with nested navigation in the Craft control panel

Olive Menus for Craft CMS

Build navigation menus in the Craft control panel. Editors choose and arrange the links. Developers render the menu in Twig and style it to match the site.

  • Create separate menus for a header, footer, or campaign page.
  • Combine entries, categories, assets, and Commerce products with custom links and unlinked headings.
  • Reorder and nest items, then edit labels, classes, link targets, and data attributes.
  • Add a suffix like ?source=menu#overview to a linked item so its destination follows the linked content.
  • Group items under a label, or fill a group automatically with published entries from a section.
  • Link to another Craft site's home page without copying its URL.
  • Manage menus per site and copy their structure to another site you can edit.
  • Give menus and individual items their own Craft fields.
  • Review drafts in the control panel and restore published versions from history.
  • Set visibility by site, audience, user group or date, and organize larger menus into columns.
  • Sync structure across site variants and move menus between projects with JSON.
  • Build breadcrumbs in Twig or query navigation in GraphQL.

Craft Plugin Store · Documentation · Changelog

Olive Menus editor in Craft 5, with a nested menu and the controls for adding links

Install

Olive Menus 5.x requires Craft CMS 5 and PHP 8.2 or later. Install it from the Plugin Store in Craft, or run these commands from your project directory.

composer require olivestudio/craft-olivemenus
php craft plugin/install olivemenus

Render your first menu

  1. Open Olive Menus in the control panel and choose New menu. Use mainMenu as the handle.
  2. Open the menu, add entries or custom links, then choose Save menu.
  3. Add this snippet to your layout where the navigation should appear.
<nav aria-label="Main navigation">
  {{ craft.olivemenus.getMenuHTML('mainMenu', { 'without-container': true }) }}
</nav>

For your own markup, use craft.olivemenus.getMenuData('mainMenu'). The Twig guide covers custom rendering, options, breadcrumbs, and multisite lookup. For headless builds, see the GraphQL guide.

Support and agency work

Report a bug or suggest an improvement. Include your Craft and Olive Menus versions and the steps to reproduce the issue.

Working on a Craft build, upgrade, or integration for a client? Talk to Olive Studio about working together.

MIT license