WordPress.org

Ready to get started?Download WordPress

Forums

WP Footer Menu Not working? (1 post)

  1. nicefellow1234
    Member
    Posted 2 months 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/

Reply

You must log in to post.

About this Topic

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