Daily archives: Monday, July 13, 2009
Delicious Recipes for WordPress Page Menus and Page Listings
There are so many awesome ways to display your WordPress pages. Out of the box, WordPress provides two different template tags for displaying lists of your site’s pages. The first, most-commonly used tag is wp_list_pages()
, and the second, lesser-known tag is wp_page_menu()
. First we’ll explore the highly flexible wp_list_pages()
template tag, and then we’ll dig into the new wp_page_menu()
tag. Along the way, we’ll check out some delicious recipes, tips and tricks for creating the perfect WordPress Page Menu.