I have put about 86 items in my primary navigation menu of my Agency Theme.
They are both menus, sub-menus and sub-sub-menus.
Consisting of both pages and categories.
Now when I add an extra menu item (whether a post or a page), and then save the menu again, the ticked box for Primary Navigation Menu becomes unticked and the menu disappears from my site.
When I tick the box for Primary Navigation Menu again and save the menu again, the added extra menu item disappears from the menu.
Is there a maximum number of menu items that can be added to the primary navigation menu? And can I edit this. I just need 2 more items.http://notenspecialist.com/
Yes, I had this happen a large menu (I am using the ubermenu plugin) but it has to do with PHP.ini file. This seemed to work for me and have not had an issue since I increased it.
The increasingly common issue is the max_input_vars PHP directive. By default, it is set to 1000. To increase this, simply set it in php.ini. I’d suggest 3000 to be safe, but 2000 should be sufficient for most sites.
max_input_vars = 3000
How do you edit php.ini? That depends on your host. If you have access to the php.ini file, simply add or edit the directive, save, and restart Apache. If you’re with a web host that doesn’t give you access (common with shared hosting), you may have to contact your host and have them make the change for you.
Ok, thanks for your help!
This is very helpful.
The topic ‘Maximum no. of items in primary navigation menu? – Agency Theme’ is closed to new replies.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.