Add [subpages_expand] to any parent page. All child pages' titles are shown as links that expand to content when clicked
Author: | HBJitney, LLC (profile at wordpress.org) |
WordPress version required: | 3.4.1 |
WordPress version tested: | 4.6.6 |
Plugin version: | 1.15 |
Added to WordPress repository: | 05-11-2012 |
Last updated: | 12-09-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | http://hbjitney.com/subpages-expand.html |
Total downloads: | 3 593 |
Active installs: | 100+ |
Click to start download
|
Screenshots
Shortcode in parent post
Public view showing each subpage's title with one expanded
FAQ
Installation Instructions
If you have a single file (ending in “.zip”), then use the Upload method. If you have multiple files, use the Files method. If you’re installing from WordPress directly, just hit the big ‘Install Plugin’ button.
Upload
- From the plugins, add new screen, choose upload
- Navigate to where the .zip file is located and select it
- Make sure to activate the plugin once it is installed
Files
- Upload the entire directory (not just the files) to the
/wp-content/plugins/
directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
Q. Does this work on posts?
A. No, only on pages
Q. I added the shortcode and nothing happened!
A1. Make sure you spelled it correctly
A2. Make sure you added the shortcode to a page, not a post.
A3. Make sure your page has sub-pages.
A4. Verify that your parent page and all child pages are published (not draft or pending)
Q. My page has more than one subpage, but only one is showing up! When I click the link the other subpages are in the text that appears.
A. You have an HTML error in one of your pages. If you have mismatched div
tags, the child pages after that can get “trapped” in the first child’s content.
Q. Error 324 (net::ERR_EMPTY_RESPONSE)
A. This error usually occurs when you try to have this shortcode on a child page.
You cannot nest this shortcode (i.e., have it on a parent page and one of the child pages).
Q. It takes a long time for the page to display.
A. The time it takes for the page to display is the time it takes for all of the subpages’ content to
load. If you have subpages with lots of content (or javascript that loads in content), it will take time for
WordPress to load that page.
ChangeLog
1.15 Verified it works on WP 4.6.1
1.13 Added support for WP 4.5
1.11 Button only appears on page editor now (shortcode doesn’t work on posts, so there’s no reason to show it there) – tested up to 4.3
1.10 Added button to page editor * Added l10n support to button
1.09a Not all child page links were displaying. Added additional FAQs that came up.
1.09 Fixed “Undefined variable: content” bug; cleaned up code
1.07 Fixed bug where shortcodes in the child pages weren’t rendering
1.05a Corrected spelling/grammar errors in documentation (no functionality change)
1.05 Fixed issue with missing subpages
1.03 Expanded readme with information about an issue; added screenshots to zip
1.01 Released with a debug fix, some formatting for the titles and code cleanup
0.90 CSS change to title cursor
0.70 Initial