Custom Menu into footer bar via shortcode

Homepage Community Forums Follow Me Theme Support Custom Menu into footer bar via shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16626
    j_hampson
    Customer

      re JacquelineHampson.co.uk

      Hi Wes

      I want to display a menu in the footer bar – is it possible to do this via a shortcode calling to a custom menu or is there a better way.

      When researching creating a custom menu shortcode I tried this site but couldn’t get it to work.

      3rd party advice site:
      http://stephanieleary.com/2010/07/call-a-navigation-menu-using-a-shortcode/

      Many thanks in advance
      Jacqueline

      #16633
      Wes
      Moderator

        Hi,

        Yes it is definitely possible….I’m actually working on a theme now that has this feature.

        I’m not 100% sure if the code from that article will work or not, especially since it looks like the article was made in 2010. The Genesis Framework has made a lot of changes recently, so the way to do it could be different.

        I do know of the way to do it with the current version of the Genesis Framework, however I haven’t tested it with the version of the Child Theme you’re using at the moment……By the way, I’ll be making an update to this theme very soon. It will be totally redesigned for the current and future versions of the Genesis Framework, so keep an eye out for that.

        The code that I’m using in my new theme is this (it’s inside the functions.php file) –

        //* Add support for 1-column footer widget area
        add_theme_support( 'genesis-footer-widgets', 1 );
        
        //* Add support for footer menu
        add_theme_support ( 'genesis-menus' , array ( 'primary' => 'Primary Navigation Menu', 'secondary' => 'Secondary Navigation Menu', 'footer' => 'Footer Navigation Menu' ) );

        I’m not sure if you’re using the HTML5 version of Genesis or not, if so, it should work, if not then it may not show up. Make sure Genesis is updated to the latest version before trying this.

        Let me know if this works.

        #17528
        j_hampson
        Customer

          Hi Wes – sorry I didn’t know you’d responded to me – can’t get it to work tonight (but it could because I’m now too tired to make sense of code).

          Rather than ask you to work on an outdated theme – I’ll update to new version of Follow Me – but please sanity check me on the best way of updating the theme because when I tried earlier tonight I ended up going to my hosting service to restore yesterday’s website 馃檪

          Many thanks in advance
          Jacqueline

          #17545
          Wes
          Moderator

            You can delete the current version (Make sure and SAVE/Backup everything first) and then upload the new version. Assuming you haven’t made any changes to your theme files.

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