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: 3 years ago
Active Installs: Less than 10
Got something to say? Need help?