Creating custom menu with custom themes

admin2025-04-19  1

I have created my own custom WordPress theme and am now trying to implement the custom menu.

I noticed with the default theme that when I went to Appearance > Menus, I was able to create my menu based on the pages I had, but after installing my own custom theme, I could not locate Appearance > Menus. And by that I mean there was no Menus option under Appearance in WordPress.

So now I do not know how to go about it, because this is my first WordPress site.

I have created my own custom WordPress theme and am now trying to implement the custom menu.

I noticed with the default theme that when I went to Appearance > Menus, I was able to create my menu based on the pages I had, but after installing my own custom theme, I could not locate Appearance > Menus. And by that I mean there was no Menus option under Appearance in WordPress.

So now I do not know how to go about it, because this is my first WordPress site.

Share Improve this question edited Sep 30, 2013 at 11:49 Johannes P. 11.1k3 gold badges42 silver badges53 bronze badges asked Sep 30, 2013 at 11:39 GolDRogerGolDRoger 32 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Directly from the codex:

Navigation Menu is a theme feature introduced with Version 3.0. WordPress includes an easy to use mechanism for introducing customised navigation menus into a theme. In order to incorporate menu support into your theme, you need to add a few code segments to your theme files.

You should familiarize yourself with how to add those to a theme.
You will primarily need register_nav_menus and wp_nav_menu.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745001445a279251.html

最新回复(0)