[WordPress] 外掛分享: PageMenu

WordPress 外掛 PageMenu 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「PageMenu」是 2014-03-28 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2020-05-31,距離現在已有 1799 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.4.1 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
  • 有 14 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

aniketan |

外掛標籤

page-specific menu | post specific menu | page specific menu items |

內容簡介

Page Menu 外掛允許您為特定的文章或頁面選擇特定的選單,還提供了選擇在特定頁面或文章、分類、標籤和自訂分類法中顯示選單項目的選項。

您可以為特定頁面選擇不同的選單和選單項目。

此外掛支援文章、頁面、自訂文章類型和自訂分類法。

如何使用此外掛?

從「外觀」>「選單」創建一個或多個選單。
將選單分配到選單位置,從「外觀」>「選單」>「管理位置」中設定。
創建一個新文章或編輯現有文章。
在文章編輯器中,您會看到「Page Menu」文章後置框。
選擇位置。
選擇要在該位置上顯示的選單。
取消選擇您不想在該特定文章中顯示的項目。

下面是一個簡單的教程:

此外掛是如何運作的?

它使用過濾器 wp_nav_menu_args 來隱藏整個選單。

使用類別 pagemenu-hide 隱藏選單項目。

警告:我們建議您在位置中至少指定一個預設選單。

支援的文章類型:

文章
頁面
自訂文章

原文外掛簡介

Page Menu plugin allow to choose specific menu for specific post or page , It also
provide option to choose menu items to display on specific page or post , category ,tag and custom taxonomy. Different menu with your selected menu items for you specific page.
it support post , page ,custom post type , Custom Taxonomy
How to make this plugin work?

Create one or more menus from appearance > menus

Assign the menu to menu location from appearance > menus > manage locations

Create a new Post or edit Existing one

In post editor you will see the Page Menu post meta box

Choose the location

Choose the menu you want to display on that location

Uncheck the items you don’t want to display on that specific post

Here is small tutorial

How does this plugin works?
To hide entire menu it use filter wp_nav_menu_args
To hide menu item it use class pagemenu-hide

Warning : We recommend you assign at least one default menu in your locations

Supported Post

Post

Page

Custom Post

各版本下載點

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

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


4.7 | 4.8 | 1.0.1 | 2.0.0 | 2.1.0 | 3.0.0 | 3.0.1 | 5.0.0 | 5.1.1 | 5.1.2 | 5.1.4 | trunk |

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

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon