Nav menu cleanups. Props nbachiyski. see #11817

git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-02-24 18:52:54 +00:00
parent 83e6b0d16a
commit e52fa727be
10 changed files with 189 additions and 273 deletions

View File

@@ -1120,18 +1120,8 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
<ul class="custom-nav">
<?php
}
?>
<?php
//DISPLAY custom navigation menu
if ( get_option('wp_custom_nav_menu') == 'true' )
wp_nav_menu( array('id' => $navmenu, 'name' => $wp_custom_nav_menu_name, 'desc' => $navwidgetdescription, 'format' => 'widget') );
?>
<?php
//DEVELOPER settings enabled
wp_nav_menu( array('id' => $navmenu, 'name' => $wp_custom_nav_menu_name, 'desc' => $navwidgetdescription, 'format' => 'widget') );
//DEVELOPER settings enabled
if ( $navdeveloper == 'yes' ) {
//DISPLAY Custom UL
if ( $navul == 'yes' ) {