WordPress.org

Ready to get started?Download WordPress

Forums

Nice Navigation
Why UL included only for wp_list_pages function? (2 posts)

  1. Joe Banks
    Member
    Posted 3 years ago #

    To be correctly nested, I believe the UL should be there for wp_list_categories and wp_get_archives. See "HERE".

    if (function_exists($function)) {
    			echo "<div class='nice_navigation nice_navigation_look_$look'>";
    			#echo "<br>function: $function";
    			#echo "<br>arguments: $arguments";
    			// wp_list_pages
    			//HERE if ($function == "wp_list_pages") {
    				echo "<ul>";
    			//HERE }
    
    			call_user_func($function, $arguments);
    
    			//HERE if ($function == "wp_list_pages") {
    				echo "</ul>";
    			//HERE }
    			echo "</div>";

    http://wordpress.org/extend/plugins/nice-navigation/

  2. Joe Banks
    Member
    Posted 3 years ago #

    Plus, I'm putting in a vote in to add Nice Navigation feature functionality to widget_nav_menu (via wp_nav_menu)!

    Thanks for all your great work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic