DocsONavOverview
Getting Started

Overview

ONavorravo.com/docs/onav/overview

What ONav Does

ONav replaces WordPress's native Appearance → Menus system with a purpose-built navigation manager. It outputs fully custom navbars without requiring theme support.

Key Features

  • 6 Navigation Styles — Default, Aurora (mega-panel), Penelope, Iconic, Northwind, Atelier
  • Auto-inject — renders at wp_body_open on any theme, no theme edits needed
  • Topbar v2 — independent announcement bar with links, descriptor text
  • Footer columns — manages footer navigation layout
  • Mobile accordion — built-in responsive menu with smooth animations
  • Mega panels — full-width dropdown panels with columns, images, and CTAs
  • Sticky scroll — hides on scroll down, reveals on scroll up
  • Admin preview — live-preview changes without publishing
  • OEngage integration — stacks correctly with the OEngage utility bar

Plugin Constants

phpONAV_VERSION  // '2.0.3'
ONAV_PATH     // Plugin directory path
ONAV_URL      // Plugin URL
ONAV_OPTION   // 'onav_config' — WordPress option key for all config

Theme Hooks (optional)

If your theme calls these actions, ONav renders at those points instead of wp_body_open:

phpdo_action( 'onav_primary' );  // Renders topbar + primary nav
do_action( 'onav_footer' );   // Renders footer nav columns + copyright
Overview — ONav Docs — Orravo