olivestudio / craft-olivemenus
Build nested, site-specific navigation menus from Craft content and custom links.
Package info
github.com/OliveStudio/olivemenus
Type:craft-plugin
pkg:composer/olivestudio/craft-olivemenus
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-28 07:38:40 UTC
README
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#overviewto 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
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
- Open Olive Menus in the control panel and choose New menu. Use
mainMenuas the handle. - Open the menu, add entries or custom links, then choose Save menu.
- 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.

