Header Menu disappearing/not saving/too many menu items

Support Area Forums Live Header Menu disappearing/not saving/too many menu items

Viewing 5 posts - 1 through 5 (of 5 total)
URL to the page in question: http://marquettecatholic.com
  • Author
    Posts
  • #32929
    Chris
    Participant

    Last night one of my teachers added another menu item to our top menu and then clicked save. After it was done loading a couple of problems popped up. WordPress cuts off every menu item after the 90th item. I do know that the number of menu items we have exceeds the normal max that WordPress allows. We had this problem fixed in the past, so maybe something randomly reset.
    The other problem that popped up is every time we save changes to our menu, it unchecks it from being our themes header menu. Each time I click the save button on the bottom of the edit menus page, it unchecks the theme location: header box. Now I can go to the manage locations tab and set it as the header menu again and it saves correctly, however as soon as I make a menu change and save again, WordPress forgets my choice.
    Now I think these two problems are related. I can delete one menu item so that our total menu items sits at 89 and the theme header box stays checked, but as soon as I add that 90th item my problems come back.
    So my ultimate question, how do you get WordPress to allow more menu items? As a PK-12 school we need every menu item that we had. Thanks for your help in advance!

    #32930
    Bill Robbins
    Moderator

    Hi Chris,

    Excellent question. There is a helpful post at http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-custom-menu-items-limit-in-wordpress/ that can walk you through the issues behind this. Large menus take a lot of resources to save and it’s likely that the server is running out of those resources before finishing. You may need to use the locations tab in the menus screen to set the theme location where the menu is assigned. I don’t know for sure, but that may bypass using the checkbox at the bottom of the menu since that’s giving trouble with the large menu.

    See if some of WP Beginner’s options won’t help you out. If you can’t get your server to do those things, then it may be necessary to break the menu up into smaller menus so they don’t have so many items in any individual one.

    Let me know how it goes,
    Bill

    #32931
    Bill Robbins
    Moderator

    Let me throw one other option out for you. Since you have such a large menu, you would likely benefit from a different menu system than WordPress native one. You could use a mega menu plugin like Uber Menu (http://wpmegamenu.com — I’ve used this and it works well) or Max Mega Menu (https://wordpress.org/plugins/megamenu/).

    One thing that both of these will do is allow you to use widgets inside a menu. You could then use WordPress’ custom menu widget to display a separate navigation menu inside the main menu.

    If I was setting a menu up that way, I would make a new menu for the top level items. Then separate menus for the sub-menus under each of the top. That way you can add these distinct menus in via widgets. That would break everything into smaller chunks that should hopefully help WordPress save and display it correctly.

    Bill

    #32932
    Chris
    Participant

    Bill,
    It turns out that http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-custom-menu-items-limit-in-wordpress/ was spot on. I called our hosting service and was able to clear the problem up in about five minutes. Thank you again for your help!

    #32933
    Bill Robbins
    Moderator

    Splendid. Let me know if I can help with anything else 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Header Menu disappearing/not saving/too many menu items’ is closed to new replies.