• Using the new Menus in 3.0 for pages and have 144 pages, some of which has the same title. It makes it very difficult to use.

    Is there anyway when you View All to tweak the code to show it in a hierarchical format like it is displayed in the Pages layout? This would make life much easier.

    I have tried to mess with the code some nav-menu.php but haven’t had much luck. I did bump up the showposts to 60 but even that isn’t helping much. Also for some reason using Search on pages always brings back 0 results.

    The code sits in around lines 650 – 661.

    <ul id="<?php echo $post_type_name; ?>checklist-most-recent" class="categorychecklist form-no-clear">
    <?php
    $recent_args = array_merge( $args, array( 'orderby' => 'post_date', 'order' => 'DESC', 'showposts' => 60  ));
    $most_recent = $get_posts->query( $recent_args );
    $args['walker'] = $walker;
    echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $most_recent), 0, (object) $args );
    ?>
    </ul>
  • The topic ‘Menus for Pages’ is closed to new replies.