[WordPress] 外掛分享: Purify WordPress Menus

WordPress 外掛 Purify WordPress Menus 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Purify WordPress Menus」是 2013-01-03 上架。
  • 目前有 400 個安裝啟用數。
  • 上一次更新是 2025-04-13,距離現在已有 21 天。
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.2 以上。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

hinjiriyo | kybernetikservices |

外掛標籤

menu | menus | navigation | page menus | navigation menus |

內容簡介

透過 Purify WordPress Menus,您可以縮減選單和分類清單的 HTML 代碼,只留下您的佈景主題需要的 CSS 類別和屬性,進而提升網頁速度。

此外採用英文、西班牙文 (Español) 和德文 (Deutsch) 提供。

更少的代碼,更快的網頁速度

此外採用英文、西班牙文 (Español) 和德文 (Deutsch) 提供。本外掛會自動刪除您在導覽選單、頁面選單和分類清單上不使用的 CSS 類別,精簡 WordPress 選單和分類清單的 HTML 代碼,只留下您佈景主題所需的必要 CSS 類別,這可以減少 HTML 代碼,進而提高網頁速度。

如果您非常關注您的網站載入時間,您無法透過第三方緩存外掛程式來獲得秒數或十分之一秒數的載入時間,那麼您可能會對使用 Purify WordPress Menus 外掛進行測試並評估其可能性感到興趣。

使用者評價

…interesante experimentar… in Reduce CSS en WordPress y mejora la carga by Luis Méndez Alejo on August 20, 2015
Number 1 in Cool List of Free Navigation Menu WordPress Plugins by Inspiration on January 8, 2015
Number 7 in 13 Excellent Free WordPress Widgets for Menus by mike on November 24, 2014
Number 6 in 13 Great Free HTML Widgets for WordPress by sam on August 27, 2014
Number 8 in 10 Magnificent Free Menus Widgets for WordPress by jatin on July 26, 2014

示範

您是否想在安裝此外掛程式之前先在自己的網站進行測試?您可以在免費的測試網站上嘗試 Purify WordPress Menus 外掛,請 點擊此處。

不會出現非預期視覺效果

在大多數情況下,前端選單和分類清單的視覺外觀保持不變。如果您在佈景主題的選單和分類清單中看到了非預期的視覺效果,您可以在外掛設定頁面上啟用所需的 CSS 類別。

停用並保留您的設定

如果您停用此外掛程式,您的設定將保留。如果您重新啟用此外掛程式,您將使用上一次的設定。您不需要再次設定所有設定。

不留下多餘的設定

如果您透過 WordPress 的「外掛程式」功能表刪除此外掛程式,系統也會刪除您的設定,不會留下多餘的選項在 WordPress 資料庫中。

預設設定:僅標示當前選單項目

預設設定是僅在當前文章和類別中輸出選單項目的 CSS 類別。

停止顯示選單項目和分類清單項目的祖先 CSS 類別

如果您自己啟用,那麼當前項目的父項目將不會被分類為祖先。您可以為選單和分類清單分別設置。

停止顯示過時頁面選單的 CSS 類別

此外掛程式會篩選出導覽選單中過時的頁面選單的 CSS 類別。使用 WordPress 選單設定器後,頁面選單類別不再需要。

停止顯示#menu-{id}

此外掛程式會刪除每個選單項目的 ID 屬性。在大多數情況下,每個選單項目的 ID 不需要使用。

停止顯示分類清單的 CSS 類別

原文外掛簡介

Improve page speed by letting slim down the HTML code of menus and category lists to the only CSS classes and attributes your theme needs.
The plugin is available in English, Spanish (Español) and German (Deutsch).
Less code, higher page speed
This plugin deletes the CSS classes you do not need in a navigation menu, page menu and category list. It slims down the HTML code of WordPress menus and category lists to the only neccessary CSS classes you want for your theme. This results in less HTML code and thus in higher page speed.
If you are very concerned about the loading time of your website and you do not manage to gain seconds or tenths in the loading of the site with 3rd party caching plugins, you may find it interesting to experiment with the plugin Purify WordPress Menus and evaluate its possibilities.
What users said

…interesante experimentar… in Reduce CSS en WordPress y mejora la carga by Luis Méndez Alejo on August 20, 2015
Number 1 in Cool List of Free Navigation Menu WordPress Plugins by Inspiration on January 8, 2015
Number 7 in 13 Excellent Free WordPress Widgets for Menus by mike on November 24, 2014
Number 6 in 13 Great Free HTML Widgets for WordPress by sam on August 27, 2014
Number 8 in 10 Magnificent Free Menus Widgets for WordPress by jatin on July 26, 2014

Demo
You want to test Purify WordPress Menus before installing on your site? Try it out on your free dummy site and click here.
No undesirable visual effects
The visual appearance of menus and category lists in the frontend remains unchanged in most cases. If you should see an undesirable visual effect to the menus and category lists in your theme, then you can activate the needed CSS classes on the plugin’s options page.
Deactivate it and keep your settings
If you deactivate the plugin, your settings remains. If you activate the plugin again, your last settings will be used. You do not need to go over all settings again.
Residue-free deletion
If you delete the plugin via the WordPress ‘Plugin’ menu, your settings will be deleted, too. No useless option remains in the WordPress database.
Default setting: Marks the current menu item only
The default setting is to output only the CSS classes for the navigation menu items of the current post and the current category.
Stops displaying CSS classes of parents and ancestors of menu items and category list items
If activated by yourself, then items which are parents of the current item will not be classified as ancestors additionally. You can set that separately for both menus and category lists.
Stops displaying CSS classes of outdated page menus
This plugin filters out the old CSS classes of page menus in navigation menus. Using the WordPress menu configurator the page menu classes are not necessary anymore.
Stops displaying #menu-{id}
This plugin deletes the ID attribute of each menu item. In most cases the ID of every menu item is not needed.
Stops displaying CSS classes of category lists
This plugin filters out the CSS classes of each item in category lists.
Uses WordPress standard functions
This plugin hooks into the WordPress core functions wp_nav_menu(), wp_page_menu() and wp_list_categories(). It changes the results of those functions to the settings you have done.
Switch on and off every CSS menu item class
You can:

select and deselect in detail every CSS menu item class the WordPress core functions wp_nav_menu(), wp_page_menu() and wp_list_categories() generate
control whether the id attribute of each navigation menu item is printed out or not
control whether parent items will be additionally classified as ancestors item or not. You can activate to print out both classes on parent items or just parents classes
control whether navigation menus will be additionally classified with the older page menu classes for compatibility or not.

Languages
Purify WordPress Menus is available in multiple languages maintained by the amazing WordPress community.
Your language is missing? Please be part of the community and help to translate Purify WordPress Menus on GlotPress. Thank you!

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Purify WordPress Menus」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


3.0 | 3.1 | 3.2 | 3.4 | 3.0.1 | 3.0.2 | 3.0.3 | 3.0.4 | 3.0.5 | 3.1.1 | 3.2.1 | 3.2.2 | 3.3.0 | 3.3.1 | 3.3.2 | 3.3.3 | 3.4.1 | 3.5.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Breadcrumb NavXT 》Breadcrumb NavXT 是受歡迎的 WordPress 外掛 Breadcrumb Navigation XT 的後繼者,從頭開始編寫以比其前輩更好。此外掛可為您的 WordPress 網誌或網站生成定...。
  • WP-PageNavi 》想要取代舊的 ← Older posts | Newer posts → 連結,並改為一些頁面連結嗎?, 這個外掛提供了 wp_pagenavi() 的樣板標籤,可以產生豪華的分頁連結...。
  • Max Mega Menu 》Max Mega Menu 可自動將您現有的菜單轉換為豪華菜單。您還可以將任何 WordPress widget 添加到菜單中,使用主題編輯器重新風格化菜單,並使用內建設置更改菜...。
  • Page scroll to id 》Page scroll to id 是一款功能完整的外掛,將瀏覽器「跳轉」行為替換成平滑捲動動畫效果,當按下 href 值含 # 的鏈結時。此外,它提供所有基本工具和進階功能...。
  • Menu Image, Icons made easy 》這個外掛可以輕鬆地在選單項目中加入圖像或圖示,打造更好的網站選單。, 可以控制圖像或圖示的位置以及大小。, 這個 Menu Image 外掛還有其他功能,以下是其...。
  • Menu Icons by ThemeIsle 》這個外掛提供了在選單項目中加入圖示的功能,就像最新的儀表板選單的外觀一樣。, , 使用方法, , 啟用外掛後,前往外觀 > 選單以編輯您的選單, 在「選單圖...。
  • LuckyWP Table of Contents 》ptoc] used to manually insert the table of contents., Filters lwptoc_settings, lwptoc_post_settings, Use for change plugin settings programmaticall...。
  • Responsive Menu – Create Mobile-Friendly Menu 》這是一個高度自訂化的 WordPress 響應式選單外掛程式,擁有超過150個可自訂選項,讓您擁有22,500種組合選擇!您不需要編寫代碼或知識,只需使用簡單易用的介...。
  • Font Awesome 4 Menus 》此 WordPress 外掛能夠在不需編寫任何程式碼的情況下,將 Font Awesome 4 圖示添加到您的 WordPress 選單和網站上!您只需將 fa-(圖示名稱)添加為選單的 cl...。
  • Exclude Pages 》這個外掛新增了一個勾選框,「在選單中包含此頁面」,取消勾選則排除使用者在您的網站上看到的頁面導覽中的頁面。, 如有問題:聯繫我。此插件新增了一個勾選...。
  • WP-Paginate 》最新消息, WP-Paginate 是一個簡單靈活的分頁外掛,可為您的 WordPress 網站提供更好的導覽方式。, 除了提高訪客的使用體驗外,更廣泛的報告顯示,分頁可透過...。
  • Rich Table of Contents 》RTOC是一個來自日本的目錄生成外掛,讓任何人都可以輕鬆地創建目錄。除了擁有傳統目錄外掛的功能外,它設計了精美易用的介面。實時預覽具有直觀的使用者介面...。
  • Flexy Breadcrumb 》PressTigers 的 Flexy Breadcrumb 是一個簡單而強大的麵包屑導覽系統外掛,適用於 WordPress 網站。使用此外掛,您可以透過 [flexy_breadcrumb] 短碼在網站的...。
  • WP Realtime Sitemap 》這是一個網站地圖的 WordPress 外掛,可以讓您輕鬆地顯示所有頁面、文章、存檔、分類和標籤,而無需進行樣板修改或在網頁上懂 HTML/PHP 知識。, 此外掛不會建...。
  • WP PageNavi Style 》首先,我想感謝 Lester 'GaMerZ' Chan 和 scribu 為這個美麗的 WordPress 頁面導航外掛所做出的貢獻。, 使用此外掛你必須先安裝 Wp Pagenavi。 , 連結:分頁...。

文章
Filter
Apply Filters
Mastodon