BLOG

Tips

WordPress Custom Menu Limit Fix

I recently ran into an issue where custom WordPress menus were not being saved after reaching a specific number of menu items. In my particular case, 95 items was the magic number…anything added beyond that was not being saved.

Adding the following code to your htaccess file should do the trick:

1
php_value max_input_vars 2000

2 Comments

  1. Josh

    Hi there,

    I tried adding this to my .htaccess file, but it casued a 500 Internal Server error.
    Is there anything else I should be adding to the file?

    Thanks
    Josh

  2. admin

    Hey Josh,

    What else do you have in your .htaccess file? Did you add anything else above it?

Leave a Reply

Your email address will not be published. Required fields are marked *