header.blade.php 376 B

1234567891011
  1. <header class="banner">
  2. <a class="brand" href="{{ home_url('/') }}">
  3. {!! $siteName !!}
  4. </a>
  5. @if (has_nav_menu('primary_navigation'))
  6. <nav class="nav-primary" aria-label="{{ wp_get_nav_menu_name('primary_navigation') }}">
  7. {!! wp_nav_menu(['theme_location' => 'primary_navigation', 'menu_class' => 'nav', 'echo' => false]) !!}
  8. </nav>
  9. @endif
  10. </header>