Use WP 3.0 menu

23.Aug.2010

WordPress 3.0 has added us a nice functionality for using custom menus. Allowing us to mix categories, pages and URLs, WP gives us option to make menus with ease. In order to implement WP 3.0 menu into you theme, just use following snippet:

1
2
3
4
5
wp_nav_menu( array(
	'menu' => 'Menu_name',
	'container_class' => 'wp-menu',
	'container' => 'div'
) );