Confused about the correct functioning on WordPress Menus

Greetings and thanks for posting on the forums.

If you want to register a single nav menu then use the function register_nav_menu instead of register_nav_menus as following to register it.

if ( function_exists('register_nav_menus')) {
    register_nav_menu( 'main', 'Main Nav' );
}

Note: The function register_nav_menu automatically registers custom menu support for the theme therefore you do not need to call add_theme_support( ‘menus’ );

To display navigation menu use the following code.

<!-- Navbar starts -->
 <div class="navi pull-right">
    <?php wp_nav_menu( array('theme_location' => 'main', 'container' => '<div>', 'container_class' => 'mattblackmenu', 'container_id' => 'ddtopmenubar' )); ?>
</div>

<div class="navis"></div>
 <!-- Navbar ends -->

Add the tag in the Navigation Label menu field to be displayed inside the anchor tag and bgreen class CSS Classes menu field as displayed in the attached screenshot.

If you are not getting “CSS Classes” menu field option then check the checkbox in the Screen Options as shown in the attached screenshot.

enter image description here

In your CSS code replace “.bgreen a” in place of “.bgreen” and .sub-menu in place of #ddsubmenu2 & .ddsubmenustyle if you have used any of these selectors in your CSS code.

You will find more information about parameters of wp_nav_menu() function on the following page.

http://codex.wordpress.org/Function_Reference/wp_nav_menu

Best Regards,
Vinod Dalvi