WP Footer Menu Not working? (1 post)

  1. nicefellow1234
    Posted 2 years ago #

    I have been working on a site to change from HTML To WordPress CMS...so got completed everything...Now stuck in one problem..and that is that I have declared the Main Navigation and Footer Navigation correctly (according to me) in functions.php file as :

    /* Register Nav Main Menu */
        register_nav_menus (array('main-nav' => 'Main Navigation'));
        register_nav_menus (array('footer-nav' => 'Footer Navigation'));

    while I am calling the both menus in correct way as for main-nav I am calling it in header.php as :

    wp_nav_menu( array( 'menu' => 'main-nav' ));

    while calling the footer-nav as following in footer.php as :

    wp_nav_menu( array( 'menu' => 'footer-nav' ));

    but in both places only main-nav is shown...so what did I do wrong please?..Need a hand to fix it...!

    Waiting for your replies..!

    Here is live link to the site as : http://www.huntedhunter.com/minaterra/

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by nicefellow1234
  • This topic is not resolved
  • WordPress version: 3.9.1