diff --git a/docs/usage/wordpress.md b/docs/usage/wordpress.md index 85272e4..82e5a99 100644 --- a/docs/usage/wordpress.md +++ b/docs/usage/wordpress.md @@ -544,3 +544,13 @@ It comes with two assisting directives `@hassidebar` and `@endhassidebar` that c @thememod('header-bg-color') @thememod('header-bg-color', '#fff') ``` + +## @menu + +`@menu` allows you to easily call `wp_nav_menu()` and is typically wrapped in `@hasmenu` and `@endhasmenu`. + +```php +@hasmenu('primary_navigation') + @menu(['theme_location' => 'primary_navigation']) +@endhasmenu +```