• I only wanted to delete a few menu items and accidentally deleted the entire menu. Older posts on the internet say that I have to rebuild it. Is there any new quick solution to restore it? Note: I am pretty much a WP beginner. I can follow basic instructions and screenshots but will have to ask someone else if it comes to codes etc.

    • This topic was modified 2 years, 7 months ago by aeloumrany.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi There,

    If you did it through the WP backend, you need to restore the entries from wp_posts and wp_postmeta. Look for the nav_menu_item post type, grab any row that uses that. Then note the associated IDs and grab the rows from wp_postmeta that use those IDs as Post ID. That should restore your menu.

    try to follow the above steps, hope this will be help

    Thread Starter aeloumrany

    (@aeloumrany)

    Thank you Yadav. Yes, I deleted the menu through the backend. I am happy that there is a solution, I just do not fully understand it. Where do I find the nav_menu_item post type?

    Hi there, sorry to daily reply

    Following this tread, will be helpful for you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restore accidentally deleted menu’ is closed to new replies.