[wp-hackers] limitations of wp_nav_menu // or what to do with really big menus?
Malte Witt
m.witt at ia-sh.de
Wed Jan 12 16:27:50 UTC 2011
Hey Chip,
wp_list_pages is really cool, I use it alot. The Problem is; how do I
tell my customer that he can't add pages that shouldn't go into the
navigation structure without asking me?
<?php
wp_list_pages('exclude=206,228,230,265,267,269,271,273,283,320,322,324,329,339,344,347,351,418,419,420,421,422,423,466,467,468,469,470,471,472,533,534,550&sort_column=menu_order&title_li=');
?>
That's the main nav of one of my projects ... :-(
Also do you change the menu order by tipping 200 numbers into the menu
order field in the post editor, or how are you able to sort that menu?
Greetings,
Malte
Am 12.01.2011 16:37, schrieb Chip Bennett:
> I have almost 200 pages in my site's Page menu, using
> wp_list_pages()<http://codex.wordpress.org/Function_Reference/wp_list_pages>
> .
>
> wp_list_pages() is incredibly powerful, and in nearly all cases, will
> support your needs (though it currently can't be integrated with
> wp_nav_menu(), unfortunately).
> Chip
> On Wed, Jan 12, 2011 at 9:17 AM, Malte Witt<m.witt at ia-sh.de> wrote:
>
>> Hi all,
>> I have one question which I guess a lot of people had already thought about
>> before - so there likely must be a simple answer.
>> How do you build really big menus with 50-100 pages in your CMS like
>> wordpress installations? Although I really like wp_nav_menu, it lacks
>> usability for those usage scenarios.
>>
>> Am I just using the wrong CMS or is there a solution for this? I am already
>> using "CMS Tree Page View" for viewing the admin page panel in a tree view.
>> I guess I would just need something similar for the menus.
>>
>> I hope anybody knows a solution.
>>
>> Greetings,
>> Malte
>> **
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list