Count Children

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

Author:bitacre (profile at wordpress.org)
WordPress version required:2.8
WordPress version tested:3.5
Plugin version:1.0.0
Added to WordPress repository:22-09-2012
Last updated:01-01-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://shinraholdings.com/plugins/count-child...
Total downloads:1 184
plugin download
Click to start download

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.


FAQ
ChangeLog