[wp-hackers] Why does wp_page_menu exist?

Peter Westwood peter.westwood at ftwr.co.uk
Wed Feb 4 22:03:13 GMT 2009


On 4 Feb 2009, at 22:01, Otto wrote:
> As for why a new function was added, I expect that it's for both
> future expansion and to maintain backwards compatibility.

wp_page_menu is designed for all those themes that have a list of  
pages across the top.

(Maybe it was a little bit of a hint that having a nice theme with  
links to #,# and # is a little annoying IMHO)

wp_list_pages is more for a sidebar listing of pages.

westi
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list