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

Commit

Permalink
Empty Footer Menu Displays All Pages
Browse files Browse the repository at this point in the history
Disables fallback menu
  • Loading branch information
szk11001 committed Nov 10, 2014
1 parent 3bee819 commit 6ff7cbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
'menu' => 'Footer',
'container' => false,
'items_wrap' => '%3$s',
'depth' => 1
'depth' => 1,
'fallback_cb' => false
);
wp_nav_menu( $defaults );
}
Expand Down

0 comments on commit 6ff7cbe

Please sign in to comment.