Need help with WordPress menu??

Discussion in 'General Programming Chat' started by cloudy, Jun 23, 2012.

  1. cloudy

    cloudy Junior Member

    Joined:
    Dec 16, 2011
    Messages:
    111
    Likes Received:
    22
    Hi Everyone,

    I have been trying to do this all day installed loads and loads of menu plugins to help me try and achieve this, but still am unavalible to do it!!!

    I have built an awesome static website and this is the navigation below

    HTML:
    <ul id="nav"><li class="level0 first homelink"><a href="#"><span>Home</span></a></li><li class="level0 nav-1 active level-top first parent"><a href="#" class="level-top"><span>Footwear</span></a>
    <ul class="level0 chield chield4"><li class="level1 nav-1-1 first parent"><a href="#"><span>Footwear Man</span></a>
    <ul class="level1"><li class="level2 nav-1-1-1 first"><a href="#"><span>Boots</span></a></li><li class="level2 nav-1-1-2"><a href="#"><span>Casuals</span></a></li><li class="level2 nav-1-1-3"><a href="#"><span>Slippers</span></a></li><li class="level2 nav-1-1-4"><a href="#"><span>Sneakers</span></a></li><li class="level2 nav-1-1-5 last"><a href="#"><span>Brands We Love</span></a></li></ul></li></ul></li></ul></ul>

    I need some resources of how to move it in to WordPress with out restrucuting the code due to the css styles being attached to the menu.
    I understand extremely well html and css..... but when it come to inserting it in to wordpress dynamicly i am struggling so so much!

    I have done it in Joomla before and making menu's in that CMS was easy but im finding it diffecult on how to build a custom dynamic menu what would output the code as shown above.
    Any info would be extremely helpful!

    I have been all over the internet today trying to figure it out and nothing seems to work!!!!! :(

    Cheers
    Cloudy
     
  2. NeoPat

    NeoPat Power Member

    Joined:
    Oct 29, 2011
    Messages:
    649
    Likes Received:
    167
    I dont if this is right or not but id personally do is go to the theme editor look for the nav details/html and try and replace them and see what happens. Obviously make a back up of the original form. But hey thats what id personally do

    Sent from my GT-I9100 using Tapatalk 2
     
  3. curphey

    curphey BANNED BANNED

    Joined:
    May 24, 2012
    Messages:
    117
    Likes Received:
    41
    i do believe its in the header.php in the theme folder.
     
  4. cloudy

    cloudy Junior Member

    Joined:
    Dec 16, 2011
    Messages:
    111
    Likes Received:
    22
    I know it is in header.php and referes to the the function.php folder.... but just don't know how to get data from wordpress to pass it in to where i would like it! :/ also i tryed your method neopat and it restructures everything around..... and that is not something what i can afford to do..........
    The whole template is bespoke i have built the template from scratch but am finding it extremely hard to get the menus to work and positioning them!! i have read through the whole code what wordpress puts out.... but just seems like i can't do it...... it was so simple in joomla :/
     
  5. cloudy

    cloudy Junior Member

    Joined:
    Dec 16, 2011
    Messages:
    111
    Likes Received:
    22
    Anybody got any ideas? :/
     
  6. Huy Phan

    Huy Phan Jr. VIP Jr. VIP

    Joined:
    Sep 3, 2012
    Messages:
    1,037
    Likes Received:
    575
    Home Page:
    I didn't quite get what are you trying to achieve?

    You want to add menu to Wordpress, making it's structure same as in your HTML?
    Adding a simple dynamic menu doesn't do the trick for you?

    Have you tried checking the wordpress codex and/or their support forums?