nav_menu doesn't work (2 posts)

  1. Beatboxx
    Posted 3 years ago #

    I'll explain the problem with just code, because there is not really anything to explain. I have a very simple theme with only an index, header and style file. This is in my header file:

    <?php wp_nav_menu( array('container_class' => 'menubar' )); ?>

    and this is what comes on the actual website:

    <div class="menu">
    <li class="page_item page-item-2"><a href="http://blabla.com/daa/?page_id=2">Sample Page</a></li>

    As you see, the container class keeps 'menu' in stead of menubar...
    I have tried with different arguments, but none of them work....

    [ please don't bump - its not permitted on these forums ]

  2. wpadvices
    Posted 3 years ago #

    For this you have to create a custom menu by going Appearance-->Menus in wordpress dashboard

Topic Closed

This topic has been closed to new replies.

About this Topic