Viewing 30 posts - 1 through 30 (of 31 total)
  • Author
    Posts
  • #573311

    Hello,

    I am trying to add additional pages to the Main Menu. After I update Menus and go to a page it appears that all page names keep repeating down the page. When I go back to Menus the page I added is gone from the Menu Structure and under Theme Locations Enfold Main Menu is unchecked. If I check and update the menus display correctly, but unable to add any more pages.

    Your help would be appreciated.

    Thanks,
    John

    #573375

    Hi John!

    You may have reached your menu limit, try installing this plugin to confirm:
    https://github.com/sevenspark/menu-limit-detector/archive/master.zip

    Regards,
    Josue

    #574211

    Hi Josue,

    Thanks for the response. I changed the variable to 5000 and I still had the same issue. So I then changed the variable to 8000 and still the same problem. However, if I update the Menu through the Customizer I don’t have the problem.

    Thanks,

    John

    #574450

    I would suggest disabling all third-party plugins and check if the issue gets fixed, however if Customizer works for you then it wouldn’t be needed.

    Regards,
    Josue

    #574800

    All plugins are disabled and still the same issue. I can add through the Customizer, but it does not allow me to select as a Mega Menu which is something I require.

    #574824

    Hi,

    Can you please create me a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #574827

    Thank you

    #574962

    Hi!

    Can you try it now? it looks like it got fixed, i’m now able to set it to a menu location and it will remain there after refreshing the page.

    Regards,
    Josue

    #575034

    Hi Josue,

    Hmmm, interesting that you got it to work. I just tried it and still having the same problem. I added 2 pages to the Main menu, saved it and row after row of menu pages appear on the website. Here is the entry for the php.ini file.

    ;How many GET/POST/COOKIE input variables may be accepted
    max_input_vars = 12000

    Thanks for the help.

    John

    #576891

    Hey!

    I think it’s working now. I created a new menu and set the theme locations as footer. You can check it here: http://www.test.wealththrunutrition.com/wp-admin/nav-menus.php?menu=57

    Cheers!
    Ismael

    #577278

    Hello,

    It does not work if you add any additional pages to the Main Menu. After adding additional pages and saving menu the website lists pages across the screen, See the page: http://www.test.wealththrunutrition.com/

    The only way to correct is by clicking Theme Locations – Main Menu and saving menu. The only way to add new pages is through the Customizer, which has limited functionality (ie: can’t select as a Mega menu, etc).

    Thanks,

    John

    #578408

    Hey!

    What will happen if you go to customizer and remove all the menu items?

    Then try the wordpress regular menus and let us know.

    Best regards,
    Vinay Kashyap

    #578652

    Hi,

    I removed all menu items via the Customizer. I then added the items thru the WordPress regular Menu and still have the same problem.

    Regards,

    John

    #580618

    Hey!

    I checked the page in private content and not sure what you want to achieve, as it looks quite weird with so many menu items on the whole page. Maybe you reached menu limit for WordPress. Try this in your .htaccess file:

    php_value max_input_vars 5000 
    

    If that does not help then try this in php.ini file:

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

    or this:

    max_input_vars = 5000
    

    and then restart server if necessary.

    Best regards,
    Andy

    #580623

    Hi,

    I had already changed the max_input_vars to 12000 and also tried the suhosin per your email with the same results. As I stated earlier I can add menu items through the Customizer and the menus work correctly. However, when adding through the standard WP menu function I get the mess that currently shows on my website. I would use the Customizer to get around this issue, but I can’t select a page as a Mega Menu.

    Thanks,

    John

    #580681

    Hi!

    does it work for you when activating a default WordPress theme instead?

    Best regards,
    Andy

    #580695

    Hi,

    I activated TwentyFifteen and added a few pages to the Menu and it works fine.

    John

    #580698

    Hi!

    are we allowed to activate TwentyFifteen on your website for testing purposes?

    Cheers!
    Andy

    #580699

    Yes, but it is already activated.

    #582049

    Hey!

    Is the menu created prior to installing the theme? Please activate a default theme, delete the main menu then activate Enfold. Create the menu again from scratch.

    Best regards,
    Ismael

    #586268

    Hello,

    The menu was not created prior to installing the theme. It was created from scratch. Twenty Fifteen is active, I deleted the menus and then activated Enfold. I again created the menu and still have the same issue. Please see the link: http://www.test.wealththrunutrition.com/

    Thanks,

    John

    #589602

    Hi!

    Please try to remove all special characters (ex: ®, ™ etc) in the menu item label. Set the theme location then save changes. Let us know if it helps.

    Cheers!
    Ismael

    #590036

    Hi,

    Ok, I removed all the special characters and still the same issue. There are 70 items in the Menu Structure. Whenever I try to add one more item to the menu I get the same mess.

    Thanks,

    John

    #590199

    Hey!

    We checked the php settings and the max_input_vars value is set to 1000 which is not enough for the number of items that you have in the main menu. Please ask your hosting provider to increase the max_input_vars to at least 5000. Refer to this link: http://kriesi.at/documentation/enfold/enfold-menu-item-limit/

    P.S: Sorry about the “special character” suggestion.

    Best regards,
    Ismael

    #590261

    Hello,

    I’m not sure where you are seeing that. When this first starting happening I changed the max_input_vars in the php.ini file located in public_html.
    ; How many GET/POST/COOKIE input variables may be accepted
    max_input_vars = 12000

    Thanks,

    John

    #590270

    Hello,

    I did speak with my provider and they confirmed that there is only one php file and the max_input_vars is set to 12000.

    Thanks,
    John

    #590973

    Hi!

    1200 is not enough, as Ismael already said. Change it to at least 5000. Let us know when you are done with it.

    Cheers!
    Andy

    #590977

    Hello,

    It is 12000! I sent a private link in my prior email with the php information.

    #591919

    Hey!

    That’s weird because it is only set to 1000 if I debug it with a plugin: http://www.test.wealththrunutrition.com/?debug-this=phpinfo

    The max_input_vars directive may be overridden by another php.ini configuration. Please edit the .htaccess file then add this:

    php_value max_input_vars 5000
    

    If I set the “Test” menu as the main menu, it works fine so there’s something wrong with the actual main menu. Please delete that one then use the test menu instead: http://www.test.wealththrunutrition.com/wp-admin/nav-menus.php?action=edit&menu=57

    Cheers!
    Ismael

    #592378

    Hello Ismael,

    I doubled checked with my hosting provider again based on your debug information. There was a line of code in the .htaccess file in Test that was overriding the php.ini file in public_html :(

    It appears to be working correctly now and thank you for all your help!

    Sincerely,
    John

Viewing 30 posts - 1 through 30 (of 31 total)
  • The topic ‘Adding Pages to Main Menu’ is closed to new replies.