[wp-trac] [WordPress Trac] #8469: wp_page_menu() should work for static front pages too

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 3 13:33:18 GMT 2008


#8469: wp_page_menu() should work for static front pages too
---------------------------+------------------------------------------------
 Reporter:  AaronCampbell  |       Owner:  anonymous
     Type:  defect         |      Status:  new      
 Priority:  normal         |   Milestone:  2.7      
Component:  General        |     Version:  2.7      
 Severity:  normal         |    Keywords:           
---------------------------+------------------------------------------------
 `wp_page_menu()` is the new function that lets you list your pages as a
 menu and optionally add a "home" link (named whatever you want).

 It uses `is_home()` to test and should use `is_front_page()` instead.
 Additionally, if the front page is a page, it should add that as an
 exclude when it calls `wp_list_pages()` so that there isn't a duplicate
 menu item.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8469>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list