<?php
register_nav_menus(array(
- 'top-bar' => 'Top Bar',
- 'mobile-off-canvas' => 'Mobile',
- 'footer' => 'Footer'
+ 'top-bar' => 'Site Navigation',
+ //'mobile-off-canvas' => 'Mobile',
+ //'footer' => 'Footer'
));
/**
'container_class' => '', // class of container
'menu' => '', // menu name
'menu_class' => 'off-canvas-list', // adding custom nav class
- 'theme_location' => 'mobile-off-canvas', // where it's located in the theme
+ 'theme_location' => 'top-bar', // where it's located in the theme
'before' => '', // before each link <a>
'after' => '', // after each link </a>
'link_before' => '', // before each link text
return preg_replace( $find, $replace, $ulclass, 1 );
}
add_filter( 'wp_nav_menu','munisingcvb_add_menuclass' );
-}
\ No newline at end of file
+}
<aside class="right-off-canvas-menu" aria-hidden="true">
+ <ul class="off-canvas-list">
+ <li><a href="<?php echo home_url(); ?>">Home</a></li>
+ </ul>
<?php munisingcvb_mobile_off_canvas(); ?>
<ul class="off-canvas-list extras">
<li class="has-form">
<form role="search" method="get" action="<?php echo home_url('/'); ?>">
- <input type="search" value="" name="s" id="s" placeholder="Search">
+ <input type="search" value="" name="s" id="s" placeholder="Search">
</form>
</li>
<li>
</ul>
</li>
</ul>
-</aside>
\ No newline at end of file
+</aside>