[Resolved] Menu hooks

Home Forums Support Menu hooks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1189887
    Ashley

    I have an extensive menu – and to help manage it, I’ve split it into several parts.

    I created additional menu locations and used the ‘generate_inside_navigation’ or ‘generate_after_primary_menu’ hook to add menu items below the primary menu. Works perfectly – with primary menu at the top and subsequent menus below.

    However, I want this also want to do this with the slideout menu. There isn’t a similar hook to ‘generate_after_off_canvas_menu’ and the ‘generate_inside_slideout_navigation’ hook doesn’t work.

    Any ideas?

    #1190218
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Have you tried this one?: generate_after_slideout_navigation

    Let me know 🙂

    #1190599
    Ashley

    Thanks Tom.

    Works a treat! Thanks. With a bit of tweaking for menu_classes to ‘slideout-menu’ works exactly how I want it too! Really appreciate the very quick response!

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