Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #130 from jmr06005/master
Fix mobile megamenu site title url
  • Loading branch information
jmr06005 committed Dec 1, 2015
2 parents 4683cc2 + 630b1dd commit 1cff9a0
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions inc/nav-maxmegamenu.php
@@ -1,16 +1,16 @@
<div id="nav-megamenu">
<div id="megamenu-wrapper">
<nav id="megamenu" class="container">
<h1 class="visible-xs visible-sm" id="megamenu-mobile-title"><a href="<?php the_permalink();?>"><?php bloginfo('name'); ?></a></h1>
<?php
wp_nav_menu(
array(
'menu_class' => '',
'theme_location' => 'primary', /* where in the theme it's assigned */
'container' => false, /* container class */
'fallback_cb' => 'hale_main_nav_fallback',
'items_wrap' => '<ul id="%1$s" class="%2$s maxmegamenu">%3$s</ul>'
)
);

<div id="nav-megamenu">
<div id="megamenu-wrapper">
<nav id="megamenu" class="container">
<h1 class="visible-xs visible-sm" id="megamenu-mobile-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name'); ?></a></h1>
<?php
wp_nav_menu(
array(
'menu_class' => '',
'theme_location' => 'primary', /* where in the theme it's assigned */
'container' => false, /* container class */
'fallback_cb' => 'hale_main_nav_fallback',
'items_wrap' => '<ul id="%1$s" class="%2$s maxmegamenu">%3$s</ul>'
)
);

?> </nav></div></div>

0 comments on commit 1cff9a0

Please sign in to comment.