[Support request] Hide Primary menu with filter/action?

Home Forums Support [Support request] Hide Primary menu with filter/action?

Home Forums Support Hide Primary menu with filter/action?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1981816
    David Perez Garcia

    Hello,
    I’ve seen this ticket:
    https://generatepress.com/forums/topic/how-to-hide-primary-menu/

    but we would need to replace the functionality of the menu, so we have to remove the menu of GeneratePress with filter/action.

    How could we do it?

    #1981836
    Elvin
    Staff
    Customer Support

    Hi David,

    You can disable the default menu on Appearance > Customize > Layout > Primary Navigation and set the Navigation Location dropdown to “No Navigation”.

    Once you’ve removed it, you can hook in your own menu using generate_inside_navigation to hook your own menu on the same place where the removed menu was.

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