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 can add up to 17 items to my Menu. As soon as I add one more item by clicking the checkbox for the page that I want to add in the Pages box in the left hand column and save the menu, the item that is last in the list drops off.

The Appearance Menus Screen page in the Wordpress codex makes no mention of this limit.

I am using a child theme of the Thematic theme; but I have had this problem before with other themes too.

If there is a limit, is there anything that I can do to override this?

share|improve this question
How many items do you have? How exactly are you adding items? – EAMann Dec 22 '11 at 0:46
up vote 1 down vote accepted

Could possibly be this bug http://core.trac.wordpress.org/ticket/14134 and http://wordpress.org/support/topic/rc32-menus-still-crippled?replies=28 but 17 menu items is very low threshold.

Try raising your php memory allocation using FTP:

1) You can edit the memory_limit line in your php.ini (if you have access to that file) to 64M:

memory_limit = 64M;

2) If you can't get to the php.ini file, add this line at the top of your .htaccess file:

php_value memory_limit 64M

3) If that doesn't work or throws a "500 Internal Server Error", delete the line from .htaccess.

Then try adding the line below near the top of your wp-config.php file, right after the opening <?php

define('WP_MEMORY_LIMIT', '64M');


If you have a php.ini, also check and raise the execution time limits:

max_execution_time = 600

max_input_time = 600


If the server is running suhosin, try these new limits:

suhosin.post.max_vars = 5000

suhosin.request.max_vars = 5000
share|improve this answer
My memory limit was already set to 64MB. I have changed the max_execution_time and max_input_time too without effect. I see from the bug 14134 that Suhosin was causing the problem. I think that may be my issue too. Thanks for the help. – Martin Duys Mar 18 '12 at 19:29
I added suhosin.post.max_vars = 5000 and suhosin.request.max_vars = 5000 to the php.ini file and that worked like a charm. Thanks again for pointing me in the right direction. – Martin Duys Mar 18 '12 at 19:55

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.