Installation

Choose your version

FreeNavStatusCraft CMSPHP
6.xBeta6.0 or later8.5 or later
5.xStable5.0 or later8.2 or later

No dependencies beyond Craft itself.

Craft CMS 6 (Beta)

FreeNav 6 is a beta release, so ask Composer for it explicitly, then install it with Artisan:

composer require "justinholtweb/craft-free-nav:^6.0@beta"
php artisan craft:plugin:install free-nav

Test it on a copy of your site before relying on it in production. Once FreeNav 6.0.0 is released, the @beta flag is no longer needed.

Craft CMS 5

Require the plugin and install it with the Craft CLI. Composer picks FreeNav 5 for a Craft 5 project.

composer require justinholtweb/craft-free-nav
php craft plugin/install free-nav

On either version you can also go to Settings → Plugins in the Control Panel and click “Install” next to FreeNav.

What Gets Installed

FreeNav creates three database tables (freenav_menus, freenav_menu_sites, freenav_nodes) and registers the Node element type, the Menu field type, and the craft.freenav Twig variable. On Craft 6 templates also get a freenav global with the same methods.

Next steps

Create a menu under FreeNav → Menus → New menu, add nodes to it, and render it in a template. Usage walks through it.

More in Frontend

Pairs well with FreeNav

Building blocks for templates. Navigation, links, tables, embeds, icons, notification bars, favicons and installable web apps.