I can’t see how, because the wp_usermeta
table contains the metadata about your users. The menu items are stored in the wp_posts
table, and the menu options (including the status of the “Automatically add new top-level pages”) is stored in wp_options
.
I would definitely recommend that you repair the crashed table, though, because it’s likely having an impact on your WordPress site. See this question and its answers for advice.
Edit
Your posted code looks right to me, and if you’ve assigned the menu properly then it should be working. I’m not sure what the problem might be. Does the menu work properly in a default theme?
Related Posts:
- WordPress default menu in database
- How is custom menu hierarchy output handled?
- Inserting PHP before a menu element, while using the inbuilt menu function wp_nav_menu()
- Where would I find Custom menu attributes in the database?
- WordPress default menu in database
- cross-site custom menu
- Where is the order of a menu saved in the database
- WordPress database issues – menu not saving correctly, media thumbnails not showing
- Is there any way to recover deleted menu from database sql backup
- How to add drop down sub menu from database fields in the particular menu slug
- Database structure Menu Item
- Split up wp_nav_menu with custom walker
- how to create a menu with all sub categories?
- How to avoid wp_nav_menu() ID conflict?
- How to change order of menu items
- Remove unusable metaboxes in nav menu management screen
- Highlight parent menu item when child is not in menu
- Add Commas Between Menu Items?
- Allow html tags in WordPress Custom Menus Description Field
- Add custom attribute to menu item link using Filter
- Bootstrap drop down menu with wp_nav_menu
- Remove nav menu or menu item
- Building a Sub-menu: Display Parent Category/Page’s Children When Viewing Children
- Getting stripos error when trying to add menu classes
- Output the aria-labelledby parameter for a nav menu child
- Hide menu items for visitors and filter based on role
- Custom Walker for Walker_Nav_Menu
- Unusable menus and “Illegal widget setting ID: nav_menu_item[]” error
- Make compatible custom menu widget for Twitter Bootstrap
- Different side menu on each page
- Appearance -> Menu -> Menu Structure : Add plain HTML code as an element
- Replace menu permalink/hyperlink with only menu name/slug
- Variables within wp_nav_menu
- wp_update_nav_menu_item not saving in multisite API
- get_search_form() doesn’t appear to take parameter into account
- Header style different on home and remaining pages
- Pass GET params to URL from a main menu item
- show different admin menu to different user roles
- Schedule Page to Menu [duplicate]
- Limit the menu child levels under “admin > appearance > menus”
- display menus on all page except one?
- Show Menu from one WordPress install in another WordPress install
- Check if Page Already Exists in Menu
- Reuse a custom WordPress menu on another WordPress website
- Is this format possible with a custom Nav Walker class?
- Default WordPress menu content
- Add code to WordPress menu items by class
- how do i change the text under a navigation menu [closed]
- How do you add a around the second level of a Menu?
- custom walker nav issue involving ajax
- Remove admin menu
- Limit User Iinterface for Admin?
- Creating menu and breadcrumb “sections” within WordPress 3 being used as a CMS
- Give child-categories same class (the parent category-slug) as parent in menu list?
- How Do I Add Images To Main Navigation Menu
- Custom Menu not functioning properly
- Is it still not possible to show separate submenu with “Custom Menu”?
- Three menus – parent / child / sibling
- WordPress Nav Walker – Top menu link with dropdown link not clickable (dropdown opens)
- Rename the label on a menu location which is already defined?
- How to making dynamic URLs for menus in WordPress?
- swap out only main menu for logged in users
- Menu Not Showing on Mobile
- Add custom class to li element which has children
- How to Show Different Menus to Logged in Users in WordPress [duplicate]
- Unable to get menu pattern using a walker
- Menu not adding the right items
- How to change the menu like this?
- Custom ul class
- wp_nav_menu inside an object — how do I deal with fallback_cb?
- Removing Submenu from Menu
- Adding conditional classes to wp_get_nav_menu_items
- Custom link missing as option in my ‘add menu items’
- Mobile navigation javascript problem
- Custom menu including also primary menu items
- open menu link (PDF) in new tab not download
- why are my walker menu is showing like this?
- Bootstrap Theme Migrated to WordPress
- How to remove top menu item and font awesome icon in WordPress menu?
- Menu with sub-items but without link
- Creating navigation out of specific IDs and their children?
- I can´t make the menu unclickable in an easy way
- 2nd level (drop-down) of the navigation menu not working [closed]
- Add active class to wp_nav_menu
- how to configure this type of menu
- Migrate WP Menu between sites
- show a hidden ul if li is active
- How can I make menu items into two seperate buttons with different functions?
- How to style wp_nav_menu?
- How to inject HTML to secondary menu on front end?
- Different colors for navigation bar
- Eliminate menu collapse button on website
- WordPress Navigation default output
- Specifying Class style for Menu
- Is there a limit to number of pages displayed for selection in custom menu?
- Convert HTML code to WordPress menu
- How to view menu and submenus in URL
- Add monthly archives menu and submenu
- wp nav menu – highlighting current page not working properly [closed]
- Hamburger Navigation Menu