• Hello,

    I can’t add more items to my menu. I’ve changed php.ini, .htaccess etc. so many times but couldn’t get any result. I’ll be very thankful if someone can help me.

    All the best

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    What do you mean you can’t add them? What happens? How are you trying to do it?

    Thread Starter sport

    (@book4sport)

    WP makes a limit for menu items, you cant add more than 90 items, i’ve read so many about this but still couldnt solve.

    It’s technically a PHP issue, and not a WordPress issue. Aside from removing some of the menu items, you can try increasing the PHP input vars setting to keep this from happening. There are a few ways to do it.

    – ask your web host to increase max_input_vars in php.ini. The default is 1000. Try something like 3000.

    – try increasing it yourself by editing the .htaccess file at the root of your web folder and adding this to the top:
    php_value max_input_vars 3000

    It sounds like you may have tried the second option, but some hosts don’t support this second option, so if it doesn’t work or it breaks the site, remove the line and ask your host to increase it. If they won’t increase it, you’ll need to remove some menu items or move to another host.

    Thread Starter sport

    (@book4sport)

    I’ve tried both again and again. I am editing php.ini from wp-admin file the i’ve created, is there any other of this file ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Menu item limit’ is closed to new replies.