[resolved] WP 3.0 Menu limit (12 posts)

  1. Bzy39
    Posted 6 years ago #

    is there a way to increase wp_nav_menu limit, because in my site it show only 15 menu, and i can't add more menu.


  2. elfin

    Posted 6 years ago #

    Sounds like it is a server issue, speak to your webhost about max_vars.

  3. MiOtraCosa
    Posted 5 years ago #

    I have my own server and WP installation and I cannot exceed 15 items total (main or sub) either in my menu. What gives?

  4. clickbuild
    Posted 5 years ago #

    Having the same problem and cannot find a fix. max_vars (suhosin) and all other var limits set to 9999999 from 200, confirmed in phpinfo and still no joy. No matter what I do I cannot get any more than 15 menu items, yet I can post an array of 1000 arrays with 1000 vars in each without problems.

    No errors anywhere, of any kind thrown - looking at the print_r of post shows 15 menu items only to the truncation is happening on post.

    Weird twist - if you post more than 15 menu items, all menu items after 15 are dropped and the last visible (#15) menu item is switched to custom.

    This is the one item preventing a site going live... Suggestions?

  5. Chris Aprea
    Posted 5 years ago #

    also having the same issue, any ideas?

  6. Erick
    Posted 5 years ago #

    Also having the same problem...

    Am I to assume that max_vars is not the fix? anything else is this a limitation of WP3.0.1??

  7. elfin

    Posted 5 years ago #

  8. enailor
    Posted 5 years ago #

    Had a similar issue with a website, and it appears to be the following settings (see below). The default values were 200 on this server. The host raised both values to 500, and we were back in business.

    Just thought I'd share!


  9. zsero
    Posted 5 years ago #

    Luckily this is one of the top 3 pages of google search "wordpress menu limit", so I quickly found a solution. I wrote a letter to my ISP to set the limit to 5000 and now it's solved. I just asked them to set the following two values in PHP.

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

    But I think WordPress with it's millions of downloads should really think about a different structure for the menu data, as I think not all users go as far as this and really look after the problem. And something as popular as WordPress really shouldn't work in a "ask you ISP to set these values for you" way!

  10. craigedmonds
    Posted 5 years ago #

    I have added this to my php.ini file in the root of my site and does not seem to work.


    Asking host to add them to server side php.ini file.

  11. cabgfx
    Posted 5 years ago #

    I've ran into the same issue, max. 16 menu items.
    I pulled up a phpinfo() and my host (shared) had the default suhosin.post.max_vars set to 200.

    Put this in your .htacces file, and you'll hopefully be good to go:

    php_value suhosin.post.max_vars 2048
    php_value suhosin.request.max_vars 2048

    This obviously requires your host to allow changing the values in your .htaccess, and the value of 2048 might not be enough for you.

    It worked for me, so I'm posting it here in hopes of helping others get unstuck and closer to launching :)

  12. sendandreturn
    Posted 5 years ago #


    My hosts tell me I have these values set to 1024000, yet it is still happening.

    Oddly, I can add new menu items...

    See them in the backend saved successfully
    See them in the front end
    Few hours later, they have gone????

    Site is http://www.trancefamily.net, issue is still ongoing and preventing me from developing site further.

Topic Closed

This topic has been closed to new replies.

About this Topic