mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
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:
@@ -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' ) {
|
||||
|
||||
Reference in New Issue
Block a user