WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Count Children

Adds a custom shortcode that returns the number of children for a given page. Accepts page ID, name, or slug as input.

This plugin allows you to dynamically return the number of children for a particular page. Inserting [children page="page-slug"] in a post or page, or <?php do_shortcode('children page="page-slug" '); ?> anywhere in WordPress' code will return the number of children for that particular page.

Useful for creating dynamic table of contents pages, keeping track of page stats, general bragging, or any place where keeping a running tally might be desirable.

Requires: 2.8 or higher
Compatible up to: 3.5.2
Last Updated: 2013-1-1
Downloads: 382

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1