Dynamic content organization with flexible display options.
Author: | kimannwall, strangerstudios (profile at wordpress.org) |
WordPress version required: | 4.0 |
WordPress version tested: | 6.1.6 |
Plugin version: | 1.0 |
Added to WordPress repository: | 12-02-2017 |
Last updated: | 01-11-2022 |
Rating, %: | 100 |
Rated by: | 3 |
Plugin URI: | http://www.strangerstudios.com/plugins/subpag... |
Total downloads: | 2 220 |
Active installs: | 100+ |
Click to start download |
Shows a list of subpages, with display options for content or excerpts, buttons and links, featured images, and layout. Enter the shortcode [subpagelist] in any page to generate the list. An example shortcode and all shortcode attributes are displayed below:
Example Subpagelist Shortcode
[subpagelist exclude=”3,5″ layout=”3col” link=”true” orderby=”title” order=”ASC” show=”excerpt” thumbnail=”thumbnail”]
Shortcode Attributes Include:
- exclude: A comma-separated list of the page IDs to exclude from display. (default: none)
- layout: Set this attribute if you would like to list the pages in columns; accepts “2col”, “3col” or “4col”. (default: 1 column)
- link: Hyperlink the page title; accepts “true” or “false”. (default: true)
- link_text: The “more link” text to display. Accepts “your custom text”. (default: “(more…)”)
- orderby: Accepts any orderby parameter as defined in the codex. (default: menu_order)
- order: Accepts ASC or DESC as defined in the codex. (default: ASC)
- post_parent: Override the parent page ID to pull in a different list of subpages; accepts any page ID. (default: current page ID)
- show: Display “excerpt”, “content”, or “none”. (default: excerpt)
- show_children: Optionally display an unordered list of the child page’s children; accepts “true” or “false”. (default: false)
- thumbnail: Optionally show the subpage’s featured image; accepts “thumbnail”, “medium”, “large” or “false”. (default: false)
- thumbnail_align: Optionally force the alignment of the featured image. Leave blank to inherit the suggest alignment for the given layout; accepts “center”, “left”, “right”, “none”. (default: false)
Screenshots
FAQ
ChangeLog