[wp-hackers] Add dropdown support to wp_list_pages()

Ryan Boren ryan at boren.nu
Thu Mar 31 04:11:49 GMT 2005


http://mosquito.wordpress.org/view.php?id=1189

People seem to have a thing for dropdowns.  I attached a patch to bug
1189 that adds dropdown support to wp_list_pages().  Use it like so:

wp_list_pages('style=dropdown');

The list style can be had like this:

wp_list_pages('style=list');

If no style is specified, list is used.

Anyone want to try it out and spruce it up?  It's currently very rough
draft.  Any options we need to add?

Ryan



More information about the wp-hackers mailing list