| 开发者 | douglaskarr |
|---|---|
| 更新时间 | 2026年9月19日 05:04 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[listchildpages]...[/listchildpages]. It accepts several attributes:
ASC or DESC. Default: DESC.publish_date (maps to date). Also accepts published (maps to date), title, name, modified, menu_order, ID, rand, type, and author.yes|no). Also accepts y, true, 1, and on. Default: no.alignleft, alignright, etc.).current to choose the parent page. Default: current.thumbnail, medium, large, full, or custom size). Default: thumbnail.Example 2: Order the child pages by title in ascending order with the page's featured image aligned left:[listchildpages orderby="title" order="asc" displayimage="yes" align="alignleft"]
Here are our child pages:
[/listchildpages]Example 3: Target a specific parent page by ID and use medium-sized images:[listchildpages parent="123" displayimage="yes" size="medium"]
Resources
[/listchildpages]Example 4: Target a parent page by slug and show full-size featured images:[listchildpages parent="about/company" displayimage="yes" size="full"]
Team Sections
[/listchildpages]Example 5: Explicitly set the parent as the current page and use large images:[listchildpages parent="current" displayimage="yes" size="large"]
Subpages
[/listchildpages]`
The shortcode accepts all of the Order and Orderby Parameters listed within the WordPress class reference.
Built by DK New Media, visit MarTech to keep up on this plugin and other marketing tools to help you grow your online presence!
Edit the child page and you'll find an excerpt section where you can enter a description that will be published on the list.
Within your functions.php file, look for the add_theme_support post-thumbnails line and add page to the array. Or if you don't have that line, you can just add it:
add_theme_support( 'post-thumbnails', array( 'post', 'page' ) );
There are additional class fields for the unordered list tag (ulclass), list item tag (liclass), and the anchor tag (aclass). You can modify the output utilizing your theme's CSS.
Nothing in the database is stored or removed. The plugin has no settings, options, custom tables, or uninstall routine. Deactivate or delete it and your pages, excerpts, and featured images stay as they are. Shortcodes left in content will simply stop rendering until the plugin is activated again.
orderby values (rand, type, author) and the published alias.on as a truthy displayimage value.parent attribute to target a specific parent page by ID or slug.size attribute to choose featured image size.