null|String. Void if 'echo' argument is true, HTML menu if 'echo' is false.
Usage
wp_page_menu( $args );
$args(array|string)
Array or string of arguments to generate a page menu. See wp_list_pages() for additional arguments.
Default: array()
sort_column(string)
How to sort the list of pages. Accepts post column names. Default: 'menu_order, post_title'
menu_id(string)
ID for the div containing the page list. Default: empty string
menu_class(string)
Class to use for the element containing the page list. Default: 'menu'
container(string)
Element to use for the element containing the page list. Default: 'div'
echo(true|false)
Whether to echo the list or return it. Accepts true (echo) or false (return). Default: true
show_home(int|true|false|string)
Whether to display the link to the home page. Can just enter the text you'd like shown for the home link. 1|true defaults to 'Home'.
link_before(string)
The HTML or text to prepend to $show_home text. Default: ''
link_after(string)
The HTML or text to append to $show_home text. Default: ''
before(string)
The HTML or text to prepend to the menu. Default: '<ul>'
after(string)
The HTML or text to append to the menu. Default: '</ul>'
item_spacing(string)
Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default: 'discard'
walker(Walker)
Walker instance to use for listing pages. Default: empty which results in a Walker_Page instance being used
Let's add a link to the homepage (show_home=1). Also, exclude pages (exclude=5,9,23), add your own class to the wrapping div (menu_class=page-navi) and sort links by column (sort_column=menu_order):