How to remove invalid menu items in wordpress


If we remove any page from WordPress website it goes to the trash. And if that page was added in the navigation menu they still display as invalid menu items in the backend. That is not a problem as long as the removed pages aren’t showing in the frontend.

The problem is when we go to remove the invalid menu items. There is no option to remove all the invalid menu items easily. You have to remove every single menu items one by one and that is so time consuming and boring.

So, I created a simple plugin to remove the invalid menu items in one click. The plugin is called Remove invalid menu items. All you have to do is install and activate the plugin then go to the navigation menu page. In the menu edit page, you will find a button called ‘Delete invalid menu items’ beside the Save menu button. Just click on the button and all the invalid menu items will be removed.


Please enter your comment!
Please enter your name here