I recently had to create a menu with a lot of menu items for the demo of my new theme. I started pulling my hair when I realized that I couldn’t save more than a certain amount of menu item.

After a quick search on google a came across this thread.

Here is a fix that worked for me.

  1. Create a new file and name it php.ini (the name and the extension are very important).
  2. Open it with any text editor and paste the following lines
    max_input_vars = 9000
  3. Finally, save the file and upload it to your wp-admin folder.

Tested on 1&1 and Bluehost.

If it doesn’t work, contact your hosting provider.


9 Replies to “WordPress Menu Item Limit Fix”

Comments are closed.