這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Subpages in Context

外掛說明

A common web design pattern is to have a primary navigation with the top level pages, and then a separate
navigation element on each page that shows only those pages related to a common top-most page. This widget helps
to build those secondary navigation elements.

If your page structure was like this:

  • Home
  • About
  • — Our History
  • — Our Staff
  • — — Employment Opportunities
  • Services
  • — Widget Development
  • — Gadget Deployment
  • Contact Us

and you added the widget with its default settings to a sidebar, it would create a list like this:

  • About
  • Our History
  • Our Staff
  • — Employment Opportunities

on any of the pages in the About subtree. Notice that the top-most ancestor, About, is included as the first element of the list.

Options

  1. Title. The widget title. If left blank, it defaults to the title of the top ancestor page.
  2. Show Title. Maybe you don’t want a title. Just turn it off here.
  3. Top Page. You can select one of your pages to be the top page, or you can choose Default, which determines the top-most ancestor of the page being displayed.
  4. Menu Class. Gets applied to the outermost <ul> element.
  5. Before Links. HTML to be inserted before links in the list.
  6. After Links. HTML to be inserted after links in the list.

螢幕擷圖

  • The Subpages In Context Widget

安裝方式

  1. Download and unzip the latest release zip file
  2. Upload the entire subpages-in-context directory to your /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈Subpages in Context〉的開發相關工作。

參與者

將 Subpages in Context 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.2

  • Fixed bug in widget form settings
  • Added option to omit top-most page from output list

0.1

  • Initial version.