Title: Remove invalid menu items
Author: Shojib Khan
Published: <strong>2019 年 5 月 13 日</strong>
Last modified: 2025 年 10 月 17 日

---

搜尋外掛

![](https://ps.w.org/remove-invalid-menu-items/assets/banner-772x250.png?rev=2086674)

![](https://s.w.org/plugins/geopattern-icon/remove-invalid-menu-items_fae8ea.svg)

# Remove invalid menu items

 由 [Shojib Khan](https://profiles.wordpress.org/webdevshojib/) 開發

[下載](https://downloads.wordpress.org/plugin/remove-invalid-menu-items.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/remove-invalid-menu-items/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/remove-invalid-menu-items/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/remove-invalid-menu-items/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/remove-invalid-menu-items/#developers)

 [技術支援](https://wordpress.org/support/plugin/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.

## 使用者評論

![](https://secure.gravatar.com/avatar/35bfea5bf69685288db98d06119972b016e81bfcb42cd2fae7b785213a981a48?
s=60&d=retro&r=g)

### 󠀁[It worked!](https://wordpress.org/support/topic/it-worked-72/)󠁿

 [sunnycreativegal](https://profiles.wordpress.org/sunnycreativegal/) 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 則使用者評論 ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/)

## 參與者及開發者

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

參與者

 *   [ Shojib Khan ](https://profiles.wordpress.org/webdevshojib/)

[將〈Remove invalid menu items〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/remove-invalid-menu-items)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/remove-invalid-menu-items/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/remove-invalid-menu-items/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/remove-invalid-menu-items/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/remove-invalid-menu-items/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **1.3.1**
 *  最後更新 **8 個月前**
 *  啟用安裝數 **1,000+**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/remove-invalid-menu-items/)
 * 標籤:
 * [remove menu](https://tw.wordpress.org/plugins/tags/remove-menu/)
 *  [進階檢視](https://tw.wordpress.org/plugins/remove-invalid-menu-items/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/)

## 參與者

 *   [ Shojib Khan ](https://profiles.wordpress.org/webdevshojib/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/remove-invalid-menu-items/)