The main menu on my site contains about 30 items, and I am no longer able to save it. This seems to be a fairly common problem with bigger menus in Wordpress. I am on a dedicated server with very generous settings for PHP memory and execution time, but past a certain size, I just can't get menus to save.
So, I need an alternative to Wordpress's built-in menu system. I want to keep the setup as flexible and quick to edit as possible. I can edit a flat file if need be, but the easier the better.
Copy the menu's HTML into a static template file and replace calls to
I don't know how I would add
current-menu-item class to the current menu item. I could live without the other utility CSS classes added by
current-menu-item is pretty important.
Since the menu is hierarchical, I could create one menu for the top-level items and separate menus for each dropdown, and then use a plugin like UberMenu to attach the submenus to their top-level items.
I would have to do a lot of tweaking and retrofitting to get the plugin-generated menu to look identical to the current menu.
Are there other approaches or solutions that would make sense here?