New Sites Launched Every Month!
860-717-4107     ::     203-984-7444     ::     websites@techcarellc.com

Blog

Menu items disappearing on WordPress Menu

This summer I have run into two instances where we were building a site and as we added more and more items to a beautiful mega menu, the items were dropping off!  Entire chunks of the menu were disappearing or getting deleted.  The primary menu box would not stay checked, so your menu locations were constantly being put back to the default.

If you are adding a lot of pages to your WordPress menu and they are getting deleted or disappearing, this is what you need to do:

In your php.ini file, you need to change the max_input_vars = 1000; to max_input_vars = 3000;

I found the answer to menu links dropping of WordPress menus here.

If you have dedicated hosting, you can go in and do this yourself (with Bluehost you can go into WHM and change it under php configuration). If you have shared hosting with Bluehost, do the following:

  1. Log into Bluehost
  2. Under the cPanel tab, find PHP Config (down at the bottom under Software/Services)
  3. Change your hosting to the latest PHP version with (Single php.ini)
  4. Now you can FTP in and find your php.ini file that was generated.
  5. Search for the max_input_vars and change the number from 1000 to 3000 or whatever number you want