WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've set up a menu on one of my sites. The menu has ~30 items. Everything is fine, but at some point the menu crops itself and displays only the first 12 item. Does anyone have an idea why this is happening and how to tackle this issue?

share|improve this question
This could possibly be a memory issue if you have a complex menu structure. What hosting environment are using? I've had this happen when saving a large menu on a weak server. – Brian Fegter Sep 18 '11 at 23:24
I don't think that this is the issue. I have a dedicated virtual server for this site. I wonder if it has something to do with php.ini or WP itself, though... – Jukov Sep 18 '11 at 23:48
Are you using the Wordpress Menu UI or are you using a function? – Brian Fegter Sep 19 '11 at 0:06
I'm using the menu UI. with wp_nav_manu. Damn, this is so wierd... – Jukov Sep 19 '11 at 6:08
up vote 2 down vote accepted

Not sure it will help, but here is sort of what you are talking about: http://core.trac.wordpress.org/ticket/14134

Try adding:

suhosin.post.max_vars = 5000
suhosin.request.max_vars = 5000

to your php.ini

share|improve this answer
thank you. that was it. – Jukov Nov 6 '11 at 14:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.