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 thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful
Hello my friend! I wish to say that this post is awesome, great written and include almost all important infos.
I would like to look extra posts like this .
Woah this weblog is wonderful i like studying your posts. Keep up the great paintings! You know, many people are searching around for this information, you can help them greatly.
It doesn’t work for me, did exactly what was asked, got this result:
wp.voetinbalans.nl
Can anyone tell me what’s wrong?
Kind regards
Niels
Nice Sharing, and drop down is looking very beautiful, Thanks,
I`ve tried creating drop down page on header blue green theme but it seems the color did not match with header background color.
well this didnt work, just saying, waste of time..
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
pretty practical stuff, overall I consider this is worth a bookmark, thanks
Does anyone know how to center dropdown submenu items? They seem to be indented and I can’t figure out how to fix this problem with suckerfishnav..
This is amazing for me. I am excited about this. But I don’t know how to install my website CSS sheet. Please Teach me.
Nice about How to Add a Drop Down Menu to your Theme. I find most website for this article and i get from here. Thanks for posting.
Thank you…Very nice, it worked properly…Great
Sorry the plugin could not be downloaded.
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 must be work for latest version too, because it just change the configuration in the drop down . And sucker fish is one of the best for wordpress i ever like.
I can now create my own beautiful drop down menu. Thank a lot. I’ll be back for some other useful tutorials.
Awesome, i searchd m0re than 20 website 4 this article finaly i succeed thanx 4 p0stng
I am using latest version of wordpress 3.3 So Please tell will it work in my wordpress blog.
great post its help me..
Thanks a ton.It worked 🙂
Thanks really it is the best plugung for dropdown menu
i have tried this on my blog,And working perfectly.Thanks for such a nice article 😀
i am using the wordpress version 3.3.1,the process works form my site or not?
additional info.
I am using dandelion wordpress theme for my website
Would you please explain step 2 further.
How do you find the location where to “paste the the code” in the header.php file.
Drop down menu works great! However, with the SKY Theme, the #! in the URL for the background slider will not let users have access to the child menus.
thanks,
this help me alot
Thanks I was looking for same info. Now drop-down menu is showing up on my site. Thanks
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.
Nice information. Thanks to admin for this tips.
Thanks. Works perfectly. Thank you
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
Excellent Article, keep positng like this.
How do I recognise the navigation menu code in my header.php page?!
It does not work when I want to display categories….
Seems that the link you provide for creating the CSS style is dead. This is the correct link for it
http://pixopoint.com/suckerfish_css/
Btw, I can’t make this dropdown works (menu don’t show) on my IE6. Do you have any solution for this?
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
Thank you for this awesome post.
You mentioned “The plugin also gives you options to choose the menu items that you want to display in the menu.”
How do I do that?
Thanks I will try this out
Thanks for this little tutorial. It works!
Little question:
Is there also a (dark) blue version of the deFusion theme?
How do I exclude pages? Also, I’d like to only have certain pages (subpages) be in the drop down under other specific pages. any ideas?
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.
Here there a way to make a menu for the side navigation bars on WP?
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.
Any tips how to install this into Semiologic custom.php file?
Thanks 🙂
This is what i want,thanks for your guide.
It’s a good ways.tks
It is awesome tips..i already download and will try it out.
thnx for this tips