Create custom menu in WordPress

What for do we need to create custom menu

It is widely known that starting with WordPress 3.0 support for arbitrary menu (custom menu) has been added. Now you can create and configure menu directly from Admin Panel, change order of links by simply dragging. In the menu you can add links to pages, categories, and individual posts. You can create multi-level menus and add your arbitrary links, about which WordPress does not know.

Creating custom menu in your blog

Menu manegement takes place in admin panel Appearance → Menu.

    1. Go to admin panel of blog Appearance → Menu.
    2. Click Create a new menu.
    3. In field Menu name write any name, for example Main.
    4. Click Create menu.

How to assign menu of a specific area

How to add category to menu

  1. On page AppearanceMenu go to block Categories.
  2. Tick those categories you want to see in menu. If there is no necessary category in tab Most used, then  go to tab View All or Search, where you can find necessary category by name.
  3. Click  Add to menu button.
  4. Click  Save menu button.

How to add category in menu

How to add certain post to menu

  1. On page Appearance → Menu go to block Posts.
  2. Tick those posts which you want to see in menu. If there is no necessary post in tab Most recent, then go to tab View All or Search where you can find necessary post by name.
  3. Click Add to Menu button.
  4. Click Save menu button.

How to add certain post to menu

How to add page to menu

  1. On page Appearance → Menu go to block Pages.
  2. Tick those pages which you want to see in menu. If there is no necessary page in tab Most Resent, then go to tab View All or Search where you can find necessary page by name.
  3. Click Add to Menu button.
  4. Click Save Menu button.

How to add pages in menu

How to add arbitrary link to menu

  1. On page Appearance Menu go to block Custom links.
  2. Enter  address of link. You will not be able to create element without specifying URL
  3. Enter link text.
  4. Click Add to menu button.
  5. Click  Save menu button.

How to add custom link to menu

How to determine number of locations in theme

  1. On page Appearance Menu go to block Manage Locations.
  2. In  Theme Location field you will see number of locations in theme.

How to determine number of locations in theme

How to assign menu of certain location

  1. On page Appearance Menu go to block Manage Locations.
  2. In Assigned Menu field select which menu will be displayed in particular location.
  3. Click Save Changes button.

How to assign menu of specific location