Several clients had the same request : they didn’t want the top level items to act as links, but just be a placeholder to contain the child pages links.
For example : About -> about us, the About link doesn’t link to a page because it has no content.
It works with superfish menus
anyway here is the code:
ID;
$children = wp_list_pages('depth=1&echo=0&child_of=' . $id . '&sort_column=menu_order&title_li=');
if ($children) {
print '
- ';
print $children;
print '
You can view the working code at http://sideradesign.com/krf




