Maximum no. of items in primary navigation menu? – Agency Theme

Community Forums Forums General Discussion Maximum no. of items in primary navigation menu? – Agency Theme

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Bart 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #64943

    Bart
    Participant
    Post count: 5

    Hi guys,

    I have put about 86 items in my primary navigation menu of my Agency Theme.
    They are both menus, sub-menus and sub-sub-menus.
    Consisting of both pages and categories.

    Now when I add an extra menu item (whether a post or a page), and then save the menu again, the ticked box for Primary Navigation Menu becomes unticked and the menu disappears from my site.

    When I tick the box for Primary Navigation Menu again and save the menu again, the added extra menu item disappears from the menu.

    Is there a maximum number of menu items that can be added to the primary navigation menu? And can I edit this. I just need 2 more items.

    http://notenspecialist.com/
    #64945

    ieanea
    Participant
    Post count: 3

    Yes, I had this happen a large menu (I am using the ubermenu plugin) but it has to do with PHP.ini file. This seemed to work for me and have not had an issue since I increased it.

    The increasingly common issue is the max_input_vars PHP directive. By default, it is set to 1000. To increase this, simply set it in php.ini. I’d suggest 3000 to be safe, but 2000 should be sufficient for most sites.
    1

    max_input_vars = 3000

    How do you edit php.ini? That depends on your host. If you have access to the php.ini file, simply add or edit the directive, save, and restart Apache. If you’re with a web host that doesn’t give you access (common with shared hosting), you may have to contact your host and have them make the change for you.

    http://sevenspark.com/wordpress/menu-item-limit

    #64952

    Bart
    Participant
    Post count: 5

    Ok, thanks for your help!

    This is very helpful.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Maximum no. of items in primary navigation menu? – Agency Theme’ is closed to new replies.