Shows a list of a given page’s subpages in the order you define.
Attributes include:
[memberlite_subpagelist exclude="3,5" layout="3col" link="true" orderby="title" order="ASC" show="excerpt" thumbnail="thumbnail"]
- cat: Accepts a single category ID (default: none)
- exclude: A comma-separated list of the page IDs to exclude from display. (default: none)
- include: A comma-separated list of the specific page IDs to include in the 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: Text to show for the “more” link. (default: (…more) )
- meta_key: Accepts a single meta key and will only return posts where that meta_key exists, regardless of the meta_value. (default: none)
- orderby: Accepts any orderby parameter as defined in WordPress developer resources. (default: menu_order)
- order: Accepts ASC or DESC as defined in WordPress developer resources. (default: ASC)
- post_type: The post type to include in results. Accepts a single value or a comma-separate list of post types. (default: page)
- post_parent: Override the parent page ID to pull in a different list of subpages; accepts any page ID or “-1” to include all pages. (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: none)
- tag_id: Accepts a single tag ID (default: none)
- thumbnail: Optionally hide or show the subpage’s featured image or assigned page icon; accepts “thumbnail”, “medium”, “large”, “icon”, or “false”. (default: false)
Last updated on March 11, 2025
Was this article helpful?
YesNo