0

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

4
  • can you clarify how this is a wordpress question, and not a CSS question?
    – mor7ifer
    Feb 11, 2012 at 14:44
  • yes. it is wordpress question. I want to add sub menus in main menu.. Feb 11, 2012 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.
    – mor7ifer
    Feb 11, 2012 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. Feb 11, 2012 at 18:47

1 Answer 1

0

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.

4
  • nice answer man...how can i get you on chat? or mail? just need to make the learning ..nothing else Feb 11, 2012 at 17:49
  • Do you have enough points to join the chat room? Feb 11, 2012 at 18:43
  • You can go to my profile page, then click my website link to contact me. Feb 11, 2012 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. Feb 11, 2012 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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