
內容簡介
透過 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!
