Footer Menu not showing as an option

Homepage Community Forums Elevate Theme Support Footer Menu not showing as an option

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22937
    Rob
    Customer

      Hi Wes

      I’m trying to add in a footer menu. I see it coded in functions.php but it’s not an option for menu location on the menu editor.

      // add theme support for a tertiary navigation menu
      add_theme_support ( 'genesis-­menus' , array (
      'primary' => 'Primary Navigation Menu' ,
      'secondary' => 'Secondary Navigation Menu' ,
      'footer' => 'Footer Navigation Menu'
      ) );<!--formatted-->

      I believe it’s because by unregistering the secondary nav, the footer nav was excluded?

      This is from lines 93 and 94:

      //* Unregister secondary navigation menu
      add_theme_support( 'genesis-menus', array( 'primary' => __( 'Primary Navigation Menu', 'genesis' ) ) );<!--formatted-->
      #22950
      Wes
      Moderator

        Try adding this code and let me know if it works –

        add_action( 'genesis_footer', 'genesis_do_subnav', 5 );

        I tested on a local demo install and it seemed to work for me.

        #22952
        Rob
        Customer

          I added that directly below the unregister secondary nav menu bit in functions.php.

          nothing. Not added as a location in the menu editor.

          #22956
          Wes
          Moderator

            Have you tried removing the secondary nav code? Or any other parts of the code that customizes the menu?

            You could also remove all the code for the menu and just add it in manually if you think one might be preventing the other from showing up. Here are some examples – https://wpsites.net/wordpress-admin/nav-menu-genesis-footer/

            #22991
            Rob
            Customer

              Ha, got it to work.

              Replaced the //unregister secondary navigation bits to the bit I had and it created the extra menus.

              Now just need to place them properly. You link will help with that.

              All the best for 2019. I’ll be in touch about some custom work

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.