No matter what CMS we're teaching, when we come to talking about themes and designs, one question always comes up quickly: "How do I make a dropdown menu"?
This tutorial provides one answer to that question in WordPress.
It's important to know one thing before you begin:
You can only easily use dropdown menus with themes that support them. Fortuantely, most themes now include a dropdown menu feature. The default 2010, 2011 and other basic themes include this feature. Older themes may not.
Option 1: Creating Dropdown Menus With Pages
We'll start by creating a menu in the 2011 theme. When you first install WordPress it has a page called "Sample page". When you view the site, you'll see that it is one of the two menu links: Home and Sample Page. We're going to add a third menu item.
By adding a new page at the top level (no parent) you automatically create a new menu item. The menu items appear in alphabetical order. To change the order go back to the Page Attributes and changer Order from 0 to 1.
You've reordered the menu. The items will appear alphabetically unless you manually change the order. The lowest number is 0, not one. If all the menu items are set to Order=0 then the default is to show them alphabetically.
Now let's add a dropdown link. The process is identical except this time when we choose the parent, choose Sample Page.
I'll create some additonal pages and show you the result.
Mousing over the Sample Page shows the three pages I added on the second level of the menu. To create more levels, you repeat the process, choosing the proper parent each time.
I created three levels of pages. Each time you create a new page, just be sure you have it on the proper level by choosing the proper parent.
Here is what the fully expanded, three level menu looks like:
With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.
All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means: