Creating Wordpress Menus The Correct Way With Any Wordpress Theme

I have been doing most of my web design work now in Wordpress and it seems that Wordpress offers the best API and non-technical interface of the three big content management systems, namely Joomla and Drupal.

I have seen a lot of Wordpress blogs and websites where people who know HTML hard-code the menus and that is not efficient, because eventually, it will take more work and programming to make your menus clean and easy to maintain.

In this video, I show you how to do all of the following:

  1. Register a new menu in your Wordpress theme.
  2. Add any menu to that theme location using the regular Wordpress menu administative interface.
  3. How to add that new menu to your new theme location, of your choice, using a simple PHP command.

The Wordpress functions you will need to know, and I show you in this video, are:

  • wp_register_menu()
  • wp_menu_nav()

In this video, I also show you how to style your new menu items with your theme's style.css stylesheet file.

Keep in mind, that you will only need to do this one and it will save you a LOT of work in the short and long run.

Enjoy the video and if you need any help, please ask for assistance in the comments of this hub. I am here to support my readers.

My YouTube video on Creating Wordpress Menus

More by this Author


Comments 4 comments

flashmakeit profile image

flashmakeit 4 years ago from usa

Very useful because PHP intimidates me so. Your video inspires me to attempt to learn more about Wordpress design and PHP.


hotwebideas profile image

hotwebideas 4 years ago from New York Author

Hey Flashmakeit. PHP is just like anything else. If you're intimidated, just dive in and expose yourself to it. Just do, do and keep doing and eventually, that intimidation will go away.

Once you are good at PHP, learning the Wordpress API will be much easier. If you need any assistance with that, feel free to ask me anytime ;)

Bruce


Lipnancy profile image

Lipnancy 4 years ago from Hamburg, New York

This is a very hard subject, a little difficult to understand. Thanks for explaining.


hotwebideas profile image

hotwebideas 4 years ago from New York Author

LOL. Lipancy. Yeah, this is the beauty of PHP. It's very powerful, but takes a little getting used to.

There are some Wordpress plugins you can also install that do all that difficult work for you.

Bruce

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working