How to Add a Drop Down Menu to your Theme

Published On April 2, 2008
56 Comments Leave a Comment

Add Drop Down Menu to WordPress theme

A lot of people wanted to know the technique for adding a Drop Down Menu to their WordPress themes. So, here is a quick way to do this. This tweak will let you create menus, sub-menus and sub-sub-menus and it applies to your pages, categories and archives.

Step 1

Download the Suckerfish Dropdown Menu for WordPress. Even if you have installed WordPress 2.5 recently, this plugin works perfectly. Extract the plugin and put the files in your wp-content/plugins folder. Activate the plugin from your wp-admin section.

Step 2

Now, open your existing theme folder which you have applied to your WordPress installation. Most probably, you already have a navigation menu in the theme (most themes have it in the header.php file). So, just replace your existing menu code with this command :-

<?php suckerfish(); ?>

Save and close the file.

Step 3

This is the final step. Go to this online Suckerfish Dropdown CSS Generator, where you can generate a custom CSS file for your menu and copy it to your clipboard. Now go to your wp-admin and click on the Suckerfish option which you can find under the options menu (in WP 2.3) or the settings menu (WP 2.5). Paste the custom CSS information where it says “Enter your CSS here”. It might show something like #222 in the box which you can safely remove. The plugin also gives you options to choose the menu items that you want to display in the menu.

To test the functionality of this drop down menu, go ahead and make some pages and sub-pages. Preview your theme and it should work flawlessly. Let me know if you have any questions. Good luck!

56 replies on “How to Add a Drop Down Menu to your Theme”

Great post! I?m just starting out in community management/marketing media and trying to learn how to do it well – resources like this article are incredibly helpful. As our company is based in the US, it?s all a bit new to us. The example above is something that I worry about as well, how to show your own genuine enthusiasm and share the fact that your product is useful in that case

I want to add drop down menu to my wordpress blog . I have installed the plugin and replace the menu code but drop down is not working only navigation is showing . Help Me

I installed the plugin, but can’t activate it.

I keep getting this error message: Plugin could not be activated because it triggered a fatal error.

Any ideas on what to do next?

It says “Now go to your wp-admin and click on the Suckerfish option which you can find under the options menu (in WP 2.3) or the settings menu (WP 2.5). “. Did you find that in your most recent version of WP? Can you email me or reply with the exact steps you took….I am not getting the same results.

Think of I read it 2 times. Because i feel much less good on this issue, We harmonise using your determination simply because they create sense. Provides Cheers and also goodluck to you personally.

These are the worst directions I’ve ever read in my life…

“So, just replace your existing menu code with this command :-

Really? Where’s the existing menu code? I’m in my php file but there’s so much stuff there that I don’t know what to eliminate.

Hello,

Great plug-in, However How can I get the drop down menu to sit on TOP of my dynamic content gallery on the home page? It disappears underneath the images. Any ideas. The dynamic content gallery is in my page.php folder.

Kind regards

Ali

I`ve tried creating drop down page on header blue green theme but it seems the color did not match with header background color.
How it should be as i`ve tried online Suckerfish Dropdown CSS Generator and did not find any color code that is same as my recent theme header color.
What is the Header color code of theme blue green?
If you don`t mind please do me in favor to handle this issue as you are the one who is capable of.
A million thank for the theme and the forward help

ty Reply

i go through all the steps but get to the page that will generate my css and it’s dead.

wtf mate?

it’s cool of you to make this plug in but my work is for naught. could you take it off the market if you’re not going to keep it up so other people don’t have to go through this.

thanks mate

thanks for your article, before read your article i really confuse how to use a drop down menu for my web blog, now i can manage it as much as i want and depend to my own style, it really help me out, thanks

Audit Firm “Femida-Audit” is registered to carry on the following activity: audit business, consulting, consultancy, accounting and accountancy, financial analysis, debts rescheduling, head hunting, staff appraisal, staff training, staff selection.

Hi Jai,

I struggled with it for about 4 hours last night and couldn’t sort out how to add Suckerfish to your Chronicles theme. This is the last piece I need to move my site to that theme permanently (or at least for a long time). Any suggestions? Thanks in advance for the help!

If this can be accomplished, I’ll be hitting that PayPal donate button.

Bob

P.S. With a little WordPress.org forums help I was able to get the graphic into the right place at the top right of the website.

Leave a Reply to Karri Cancel reply

Your email address will not be published. Required fields are marked *