Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am a new bee in wordpress but i can code in PHP. I have a free wordpress theme installed on my local host. The theme Do not have an option to add to add menu/sub menu in it. It comes with predefined number of menus. What i want is , can i add sub menu in the theme using some php skills? what i want is, a drop down sub menu when we hover over a menu..

Can i do it? if yes, How can i do it? i searched a lot, got videos and help about sub menus, but all of the help is about the themes which allow sub menu.

Clarification :-

i am not an expert, but what i know and what i think is that, it is a wordpress issue, i would need to code in menu.php or function.php to append sub menu to each element of main menu. The theme does not allow sub menu. I need sub menu be created in theme.

i am using Wordpress Christmas theme 1.1 (free) by instantshift

share|improve this question
    
can you clarify how this is a wordpress question, and not a CSS question? –  m0r7if3r Feb 11 '12 at 14:44
    
yes. it is wordpress question. I want to add sub menus in main menu.. –  N e w B e e Feb 11 '12 at 15:02
    
I'm aware that you think it is a wordpress question, I am asking you to clarify on just HOW it is a wordpress question, and not a CSS question...or even a user support question for your theme really. Preferably make this clarification in the question. –  m0r7if3r Feb 11 '12 at 16:48
    
Maybe I can help clarify for N e w B e e. It's a WordPress question because he didn't have the WP Nav menu function. If the theme had custom navigation enabled then it would have simply been a CSS question. –  Jeremy Jared Feb 11 '12 at 18:47
add comment

1 Answer

up vote 0 down vote accepted

See the answer here: Dropdown Like Twenty-Eleven Theme Question

Be sure to use the updated code toward the bottom of my answer. It should be self explanatory, but if you have any issues let me know and I'll help you out. Be sure to back up your files before changing them in case you break it.

How to Add the Menu After The Code is in Place Once the menu is installed you should notice that the custom menu's are now available in Appearance>Menu's. Just type a menu name in the box provided, add some pages and posts, then drag the sub-menu pages below and to the right of the parent menu item and release. Be sure to save the menu when you're finished.

share|improve this answer
    
nice answer man...how can i get you on chat? or mail? just need to make the learning ..nothing else –  N e w B e e Feb 11 '12 at 17:49
    
Do you have enough points to join the chat room? –  Jeremy Jared Feb 11 '12 at 18:43
    
You can go to my profile page, then click my website link to contact me. –  Jeremy Jared Feb 11 '12 at 18:44
    
If the answer helped you the procedure is to accept the answer by clicking the check-mark. If it was a good answer you can up-vote. If it didn't work just regard this comment. –  Jeremy Jared Feb 11 '12 at 18:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.