Remove invalid menu items

外掛說明

This is a very simple plugin to remove invalid navigation menu items in one click. When we move pages to the trash but they still display in the menu. This is so boring deleting all the invalid menu items one by one and time consuming too.

So, I have created this plugin so that WordPress users can easily remove the invalid menu items. Just install and activate the plugin then go to the menu you want to edit. You will find a button beside Save menu to remove the items. This is extremely helpful when you install theme demo content and remove the demo pages.

螢幕擷圖

  • The “Delete invalid menu items” button in the menu editor

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/remove-invalid-menu-items directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Navigate to Appearance > Menus to use the plugin

常見問題集

How do I use this plugin?

After activation, go to Appearance > Menus. You’ll see a “Delete invalid menu items” button next to the “Save Menu” button. Click it to remove all invalid menu items.

What are invalid menu items?

Invalid menu items are menu entries that point to deleted pages, posts, or other content that no longer exists on your site.

Is this plugin safe to use?

Yes, the plugin only removes menu items that point to non-existent content. Your valid menu items remain untouched.

使用者評論

2020 年 11 月 18 日
Thank you! I inadvertently installed all page templates on a project. I had dozens of pages I deleted and then was then unable to remove from the menu. Your plugin saved the day. (Wordpress 5.5.3 using WPBakery and MoveDo)
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Remove invalid menu items〉的開發相關工作。

參與者

將〈Remove invalid menu items〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3.1

  • Fixed fatal error issue
  • Improved plugin stability
  • Added support for WordPress 6.8.3

1.3.0

  • Bump support version to WordPress 6.0.1