[wp-hackers] Top level menus with different submenu titles

Viper007Bond lists at viper007bond.com
Thu May 18 04:33:39 GMT 2006

So I guess my previous e-mail didn't come through, but that's okay as I 
figured it out anyway.

When you make a new top-level menu (yes, I'm sure I really need one) and 
then another page as a submenu under it, a submenu is also made with the 
title of the top-level menu. I didn't want that.

So, I thought I'd share the code I came up with:


Enjoy and feel free to provide improvement suggestions. :)

- Viper007Bond

More information about the wp-hackers mailing list