Latest Tech and Tips

How to Fix the Custom Menu Items Limit in WordPress

0

Just a couple of days earlier, among our individuals reported an uncommon issue. The issue was that he was getting to the custom menu items limit. Anything he conserves after he got to the menu product limit would certainly not conserve in all. We had actually never ever become aware of this issue, so we chose to provide it a shot on our regional mount. Created 200+ menu items as well as waited. It functioned simply great. Moved 100 items right into a dropdown which conserved completely great. At that factor, we understood that this had something to make with the web server. Upon additional research study, it appeared that numerous others were having the exact same concern. Digging a little much deeper, we located a trac ticket (#14134) that highlighted this issue. After analysis the really long trac ticket, it appears that the issue has actually not been dealt with yet, yet there is a job around fix for those that are having this concern. In this write-up, we will certainly reveal you how to fix the custom menu items limit in WordPress.

To fix the concern, you require to modify your PHP.ini data. If you get on a committed web server or on a VPS with origin accessibility, after that you must currently recognize what we are speaking about. If you get on a common holding or do not recognize where PHP.ini data is, after that ask your webhosting company to do this for you.

You demand to ask to established the complying with worths in the PHP.ini arrangement:

suhosin.post.max _ vars = 5000.
suhosin.request.max _ vars = 5000.

Another customer “ronnieg” uploaded a job around that he has for his big (450+ web pages as well as expanding) property website as well as menu. You can read his response to adhere to along. (Note: we have not attempted this)

Explanation of the Problem

This issue is not totally WordPress based as various people are seeing various restrictions (some claim 16 others claim 50 and also as you currently recognize we went as high as 200 without seeing any type of restrictions). In concept, WordPress is not restricting the variety of food selections you can have. Your webhosting web server is. There are Suhosin restrictions on the POST max variables which is restricting the lot of access being conserved. Nacin responded in the trac ticket to claim that this is NOT a pest instead it is an improvement. The core group has to locate a method to function about the web server restrictions as well as identify a far better means to conserve the menu items, so despite your web server arrangement you do not see any type of custom menu restrictions. It’s simpler claimed than done :)

WordPress is an open-source (volunteer) task, as well as the core group does whatever they can to boost it each day. This will certainly be dealt with, yet the timeline isn’t specified yet as it claims“Future Releases”

If you have actually attempted something various that repaired this concern for you, after that please allow us recognize in the remarks. This will certainly enable others to fix their concern up until the core group locates a job about.