How to solve menu limit problem in WordPress?

Sometimes you may face problem if you add more than 84 links in WordPress menu. It will not work! Actually WordPress does not limit it, but your hosting company or PHP configuration can do this. But there is an easy solution also.

  1. Create a new file and name it php.ini (the name and the extension are very important).

  1. Open it with any text editor and paste the following lines
max_input_vars = 9000

  1. Finally, save the file and upload it to your wp-admin folder.

It works in local server created by XAMPP and maximum hosting companies.