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

Genesis Subpage Sidebar

外掛說明

This plugin should only be used on Genesis sites (on non-Genesis sites, it won’t break anything, but it also won’t do anything at all).

Once the plugin is active, you’ll be able to see it in action by going to any parent page or child page which shows the Primary widget area. Navigating to either the parent page or a subpage will keep the same menu in place (it shows the top-level page and the child pages of that top-level page).

Custom post types are fully supported, as long as they are heirarchical.

This plugin replaces the primary widget area with this subnavigation. When you scroll down on a long page on which that new subnavigation appears, the subnav will scroll with you.

安裝方式

  1. Use the Genesis framework. If you aren’t using a Genesis child theme, this plugin will not work with your site.
  2. Unzip the plugin and upload the folder to the ‘/wp-content/plugins/” directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. That’s it! There aren’t currently any options to configure.

常見問題集

So how does this work?

Basically, the plugin detects whether a page either has subpages or is itself a child page. If your page is in a child-to-parent relationship, it replaces your primary sidebar with a styled, unordered list of the parent page, then all of that parent’s child pages. (You can turn off default styling.)

tldr: This makes it nearly automatic to create “sections” for your website

Does this plugin have a settings page or anything that needs to be set up before using it?

Yep, but only to customize the functionality. You can use it without touching the settings.

How is this plugin different from Bill Erickson’s Genesis Subpages as Secondary Menu plugin or his BE Subpages Widget?

Those plugins each do something kind of similar, but with your secondary menu for the former or with a widget for the latter. I like to put these sorts of things in the sidebar, and I especially like it if they scroll down as the user does. So this plugin does those bits automatically instead of the things each of those do automatically.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Genesis Subpage Sidebar〉的開發相關工作。

參與者

將 Genesis Subpage Sidebar 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

Version 0.0.9

  • Fixed bug when someone hasn’t yet touched the scroll option (the sidebar was being erroneously removed)

Version 0.0.8

  • Added compatibility with Genesis Simple Sidebars (previously, those sidebars weren’t being removed when the setting in Genesis Subpage Sidebar said they should be.)

Version 0.0.6 and 0.0.7

  • Bug fixes

Version 0.0.5

  • Added some basic settings

Version 0.0.4

  • Restructured how the plugin enqueues files to make sure they’re only loaded in places where they’re needed
  • Added support for heirarchical custom content types

Version 0.0.3

  • Fixed a jquery error being caused by the plugin on pages with a gravity form using conditional logic

Version 0.0.2

  • Support added for sidebar-content layout
  • Support added for footer widgets (fixed subnav won’t overflow onto your widgets)
  • Stylesheet cleanup

Version 0.0.1

  • Initial commit