The include parameter is explicit. In other words, it will only display those pages that are listed – even if some of them have children. Under these circumstances, the child_of parameter will be ignored. Perhaps you could look at excluding pages instead?
I’m concerned about an administrator adding a new page, and it automatically appearing in the main navigation. They may just forget to add the new page to a parent page…
So, I want to avoid using the exclude in the code (because I would have to edit the code every time they add a page). I also know there is a plugin that lets people EXCLUDE pages from navigation … but I’m trying to make the adminstration dummy-proof. (because they WILL just add pages everywhere).
Oh well. I guess I will just have to live with the following….
<?php wp_list_pages(‘sort_column=menu_order&depth=2&title_li=’ ); ?>
It works, shows the two levels of navigation. I just need to be wary when an admin adds a new page.
That could solve it. Then I wont have to worry about them adding things to the menu! Thanks!