[WordPress] 外掛分享: WP Custom Menu Filter Plugin

首頁外掛目錄 › WP Custom Menu Filter Plugin
100+
安裝啟用
★★★★
4/5 分(5 則評價)
4993 天前
最後更新
問題解決
WordPress 3.1+ v0.7 上架:2011-02-21

內容簡介

WP Custom Menu Filter 外掛在 WordPress 3.1 中使用新的過濾器勾子,允許自訂選單進行過濾。這個外掛不像一般的 CSS {display:none;},實際上是從未建立過導覽選單項目。它使用自訂選單中的 CSS class 標籤來確定哪些自訂選單項目應該被排除,但它不使用 CSS 隱藏選單項目,精通技巧的使用者可以發現。因此,使用者可以使用一個自訂選單,隱藏自訂選單的某些部分給訪客(即使是精通技巧的訪客),但同時向已登錄的使用者顯示自訂選單的其他部分,反之亦然。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Custom Menu Filter Plugin」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WP Custom Menu Filter Plugin uses a new filter hook in WordPress 3.1 that allows Custom Menus to be filtered. Instead of using the generic CSS {display:none;}, this plugin actually excludes nav menu items from even being created. While it uses the CSS class tag in the Custom Menu to determine which custom menu items should be excluded, it does not use CSS to hide the menu items, which savvy users can discover. Instead using one custom menu, the user can hide portions of their custom menu to visitors (even the savvy ones) while revealing other portions of their menu to users who are logged in and vice versa.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon