Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Conditional Menus

  • Hello,
    The possibility to disable elements on certain pages in GeneratePress is great.
    It would be great if I could create a 2nd main menu and then assign 1 menu to different pages.
    Is something like this possible? Maybe via the function.php, or is there another way?

  • Hi there,

    theres the wp_nav_menu_args hook in WordPress and you can swap the $args['menu'] to change the menu

    See here for an example:

    https://generate.support/topic/secondary-theme-mobile-menu/#post-5817

    Let me know if you need assist with it.

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