• Resolved saral

    (@saral)


    Hi,

    I have submenus with a combination of links to pages, posts, and custom links. All is well for a short time, but then later, I check the site and only the custom link items remain.

    The removal is triggered by people simply logging into the site — not actually editing the menus. When I check the database, the post of type nav_menu_item for those missing items have vanished.

    How can I fix this?

    -Sara

    https://www.ads-software.com/plugins/megamenu/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Sara,

    There isn’t any code in MMM which has the ability to delete menu items (or move them). It can only add meta data to existing menu items.

    – Does the same thing happen when MMM is disabled?
    – Do you have lots of menu items (70+) in your menu? If so you might be hitting the WordPress menu item limit (more info here: https://www.maxmegamenu.com/documentation/faqs/menu-item-limit/ )
    – Does it happen when all other plugins are disabled? If not, re-enable plugins one by one until it breaks again to identify the problem plugin.

    Regards,
    Tom

    Thread Starter saral

    (@saral)

    Hi Tom,

    You were correct. The bug was unrelated to the MegaMenu plugin. Turned out to be a modification I was making to the meta_query in functions.php that caused the error.

    Thanks for your prompt response!

    -Sara

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disappearing submenu items (linking to pages and posts)’ is closed to new replies.