Add support for WordPress custom menus

A quickie.

Just a snippet. This goes to your themes functions.php file.


add_action( 'init', 'register_navmenus' );
function register_navmenus() {
  register_nav_menus( array(
    'Header'  => __( 'Header Navigation' ),
    'Body'    => __( 'Secondary Navigation' ),
    'Footer'  => __( 'Footer Navigation' ),
     )
  );
}

Club-Mate, the beverage → club-mate.fi