I’m having limited number of menu issue in my WordPress. I’m having about 100 menu + sub menus on my page. In my previous hosting, I don’t have this limited issue. After I reached about 80 menus, I couldn’t create more.
I’ve Google on this issue and found many suggestions and I have tried the following.
Edit /etc/php5/apache2/php.ini by changing
max_input_vars from 1000 to 5000. Restart apache
Create a new php.ini and put in wp-admin folder.
Change max_input_vars = 3000 upload_max_filesize = 70M; post_max_size = 128M; upload_tmp_dir = 70M; max_input_vars = 3000; memory_limit = 256M;
<IfModule mod_php5.c> php_value max_input_vars 5000 </IfModule>
None of them works.
I also found a suggestion that it’s the limit that can only be adjusted by hosting. However, I have already asked the support team, but they said they can’t help on this setting.
This’s very important since I really need to have a lot of items on my menu. Really appreciate anyone help.
Note - I’m using WordPress App image from Digital Ocean on Linux 14.04 Apache server.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!