WordPress Nav Menu Generator

The WordPress menu generator is a tool that allows WordPress users to easily create and edit navigation menus on their sites.

Menus

  • #1 primary-menu
function register_nav_menus() {
  $locations = array(
    'primary-menu' => __('Primary menu', 'text-domain'),
  );
  register_nav_menus($locations);
}
add_action('init', 'register_nav_menus');