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.
- Use the Genesis framework. If you aren’t using a Genesis child theme, this plugin will not work with your site.
- Unzip the plugin and upload the folder to the ‘/wp-content/plugins/” directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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.
Contributors & Developers
“Genesis Subpage Sidebar” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fixed bug when someone hasn’t yet touched the scroll option (the sidebar was being erroneously removed)
- 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
- Added some basic settings
- 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
- Fixed a jquery error being caused by the plugin on pages with a gravity form using conditional logic
- Support added for sidebar-content layout
- Support added for footer widgets (fixed subnav won’t overflow onto your widgets)
- Stylesheet cleanup
- Initial commit