CC Child Pages Shortcode Guide

Overview

Last updated: 13th November 2025 for CC Child Pages version 2.0

The CC Child Pages shortcode allows you to display child pages of any page in a flexible grid or list format. It is ideal for creating visual navigation sections, subpage indexes, or site maps.
You can insert it in any page or post using the shortcode .

In CC Child Pages Pro, you can also display child pages from multiple parents, filter by tags or categories, and apply advanced skins and hover effects.


Basic Usage

To display child pages of the current page:

[child_pages]

To show child pages of a specific parent (by ID):

[child_pages id="12"]

To display a list in two columns with thumbnails:

[child_pages id="12" cols="2" thumbs="true"]

Full Attribute Reference

Parent and hierarchy

AttributeDescriptionDefault
idParent page IDCurrent page via get_the_ID()
page_idsComma-separated list of specific page IDs to include
depthLevels of hierarchy to include1
siblingsShow sibling pages instead of childrenfalse
show_current_pageInclude the current page in resultsfalse

Sorting and limits / pagination

AttributeDescriptionDefault
orderbySort field (menu_order, title, date)menu_order
orderSort direction (ASC or DESC)ASC
offsetNumber of results to skip0
limitLimit total number of pages displayed (-1 = no limit)-1
posts_per_pageItems per page when paginating-1
pageForce a specific page number for pagination (-1 = auto)-1
ignore_sticky_postsIgnore sticky poststrue
post_statusFilter by status

Layout and style

AttributeDescriptionDefault
colsNumber of columns
skinVisual style templatesimple
listForce list layout instead of gridfalse
classAdditional CSS class on wrapper
use_legacy_cssUse classic stylesheet for compatibilityfalse

Content display

AttributeDescriptionDefault
hide_titleHide page titlefalse
hide_excerptHide excerptfalse
hide_moreHide "Read more ..." linkfalse
hide_wp_moreIgnore WP "more" tagfalse
show_page_contentShow full page contentfalse
truncate_excerptTruncate long excerptstrue
wordsWords to include in truncated excerpt55
thumbsShow featured imagefalse
link_thumbsMake thumbnails clickablefalse
link_titlesMake titles clickablefalse
title_link_classClass for linked titlesccpage_title_link
moreText for "Read more" linkRead more ...
link_targetTarget for links
linkOverride link URL
use_custom_excerptUse custom excerpt field if present
use_custom_titleUse custom title field if present
use_custom_moreUse custom "more" text field if present
use_custom_thumbsUse custom thumbnail field if present
use_custom_linkMeta key for custom linkcc_child_pages_link
use_custom_link_targetMeta key for custom targetcc_child_pages_link_target
show_authorShow page authorfalse
show_date_createdShow created datefalse
show_date_modifiedShow modified datefalse
subpage_titleCustom heading above list/grid

Tip: Most users only need id, cols, skin, and thumbs to create attractive page grids.


Examples

Display child pages of About page with thumbnails:

[child_pages id="25" thumbs="true" cols="3" skin="cards"]

Show sibling pages of the current page:

[child_pages siblings="true"]

Show top-level pages (depth=1) sorted by title:

[child_pages list="true" depth="1" orderby="title"]


Optional Reading

How Pagination Works

If usePagination="true", CC Child Pages divides long lists of subpages into multiple pages. The number of items per page is set by postsPerPage.

Custom Fields and Dynamic Titles (Pro)

In CC Child Pages Pro, you can use custom fields for titles, excerpts, and thumbnails. This allows dynamic linking and content presentation for advanced sites.


Troubleshooting

  • No pages displayed: Check that the parent page actually has published child pages.
  • Unexpected ordering: Ensure orderby matches a valid field like title, menu_order, or date.
  • CSS looks incorrect: Try useLegacyCSS="true" for older themes.

FAQ

Q: Can I display grandchild pages (two levels deep)?
A: Yes. Use depth="2" to include grandchildren.

Q: How do I show thumbnails only?
A: Set hide_title="true", hide_excerpt="true" and hide_more="true" and make sure that thumbs id set to a valid image size. To link the images to the posts, set link_thumbs="true".

Q: Will it work in widget areas?
A: Yes. Use the “CC Child Pages” widget under Appearance → Widgets.