Colorway Menu is not working properly

Discussion in 'ColorWay WordPress Theme' started by breaker, Oct 10, 2013.

  1. breaker

    breaker New Member

    Joined:
    Oct 8, 2013
    Messages:
    4
    Likes Received:
    0
    Does the menu have a fix number of pages? I'm creating a menu with a lot of pages because I have to show my products but now I cannot add more pages to the menu. Well, the system allow me to add them but once I save the changes, the pages disappears. What could be the problem in this case?

    Thanks for helping out.
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to
    Appearance > Menus
    Create a custom menu and only add the pages that you want to show in the navigation bar.
    Then be sure to set that custom menu as your default menu.

    There is no limit of pages, You can create numbers of pages that much you want.
     
  3. breaker

    breaker New Member

    Joined:
    Oct 8, 2013
    Messages:
    4
    Likes Received:
    0
    Hi,

    I've been doing the same you are saying but the menu is not working. At the begining, when I didn't have to many items, menu was working normally, but problems started once I added at least 100 pages. It looks like I got pages missing in the menu. I try to add these pages once again but when I save the changes I still get same pages missing. That's why I thought that menu could support a fix amount of pages.

    Thanks.
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    You have crossed php page limit. That's why this issue is occurring. Please contact to your hosting provider. They will increase page limit for you.
     
  5. chrisr

    chrisr Member

    Joined:
    Mar 27, 2012
    Messages:
    38
    Likes Received:
    0
    I have had this problem many times you need to contact your website hosting provider as you will have something like a php.ini file and in this file will be some settings that only allow so many menu items in other words when you add more than the limit the additional menu items you add just dissapear. I also had the problem that when I contacted my website host they said I had no php.ini file then my website host changed the version of Php I was using (this took them all of 1 minute to do) I could then find a php.ini file to edit.

    If you know what you are doing you can edit the php.ini file

    . PHP's max_input_vars

    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.
    2. Suhosin

    Prior to PHP's max_input_vars, the Suhosin PHP Security module introduced a similar pair of max_vars directives that are identical in purpose. Not all servers run Suhosin, but those that do will need to increase the following directives in php.ini:
    1
    2
    suhosin.post.max_vars = 3000
    suhosin.request.max_vars = 3000
     

Share This Page