coding my own menu?
-
Hi – i’m moving an html site over to wordpress, i’m new to wordpress, but i’ve managed to get my head around all the templates etc and have managed to sort most of my site, but my menus are a bit different to those provided as the standard WordPress menu. My main menu is a ‘mega menu’ which works fine on my html static site, but it has <DIV>’s nested in ULs and then further ULs in the DIVS. (the divs provide the boxes for the mega menu dropdowns and the ‘grid’ based layout inside the menu).
I also need a sidebar menu that only has the current “leg” of the menu structure in it.Is there any way for me to code a custom function or plug-in, to provide the menu as I need it(or are there any resources on the web to tell me how to do it?). I’m confident that I can code the ‘logic’ of the menu using conditional statemnets but I don’t know how to access the structure of the pages or loop through them etc, and how to ‘output’ the HTML from a function or plug-in etc.
- The topic ‘coding my own menu?’ is closed to new replies.