Title: Count Children
Author: Luke Mlsna
Published: <strong>সেপ্টেম্বর 22, 2012</strong>
Last modified: জানুয়ারি 1, 2013

---

প্লাগিন অনুসন্ধান

এই প্লাগইনটি **ওয়ার্ডপ্রেসের সর্বশেষ ৩টি মেজর রিলিজের সাথে পরীক্ষা করা হয়নি**। এটি
আর রক্ষণাবেক্ষণ বা সমর্থন করা নাও হতে পারে এবং ওয়ার্ডপ্রেসের আরও সাম্প্রতিক সংস্করণগুলোর
সাথে ব্যবহার করার সময় কম্প্যাটিবিলিটি ইস্যু থাকতে পারে।

![](https://s.w.org/plugins/geopattern-icon/count-children.svg)

# Count Children

 তৈরি করেছেন [Luke Mlsna](https://profiles.wordpress.org/bitacre/)

[Download](https://downloads.wordpress.org/plugin/count-children.1.0.0.zip)

 * [বিস্তারিত](https://bn.wordpress.org/plugins/count-children/#description)
 * [রিভিউ](https://bn.wordpress.org/plugins/count-children/#reviews)
 *  [ইন্সটলেশন](https://bn.wordpress.org/plugins/count-children/#installation)
 * [ডেভেলপমেন্ট](https://bn.wordpress.org/plugins/count-children/#developers)

 [Support](https://wordpress.org/support/plugin/count-children/)

## Description

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.

### Readme Generator

 * This plugin’s readme.txt file was generated by the [bitacre Readme Generator](http://shinraholdings.com/project/readme-gen)
   for WordPress Plugins.

### Support

 * [Plugin Homepage](http://shinraholdings.com/plugins/count-children)
 * [plugins@shinraholdings.com](https://bn.wordpress.org/plugins/count-children/plugins@shinraholdings.com?output_format=md)

### Donations

[Donations](http://shinraholdings.com/donate) are graciously accepted to support
the continued development and maintenance of this and other plugins. We currently
accept Paypal and kind words.

## Installation

 1. Download the latest zip file and extract the `count-children` directory.
 2. Upload this directory inside your `/wp-content/plugins/` directory.
 3. Activate ‘Count Children’ on the ‘Plugins’ menu in WordPress.
 4. Insert `[children page="page-slug"]` in a post or page (replacing page-slug with
    an acutal slug name) to return the number of child pages under that page.

## FAQ

  How do I add it into my posts?

You must insert the shortcode in location where you want to count to appear: (always
replacing page-slug with an acutal slug name)

 * `[children page="page-slug"]`

The shortcode assumes you are giving it slugs, but it can also accept page names
or IDs:

 * `[children type="name" page="Parent Page Name"]`
 * `[children type="id" page="28"]`

  It keeps returning 0 pages, why?

Make sure you’re using the correct page slug, sometimes they are different from 
the actual page name and capitalization matters. You can view them by clicking on
the All Pages link under Pages.

Also don’t literally copy “page-slug,” you need to put the parent page you want 
counted there, that’s just a place holder. So to count the number of children in
a page called ‘Book Reviews’ with a slug name of ‘book-reviews’ you would insert`[
children page="book-reviews"]`.

  Are there other shortcodes?

[children] is the primary one, but there is also [countchildren], [childcount], 
and [pagechildren].

  Can I change the shortcode?

Yes, just open `count-children.php` and add or change what text you want to trigger
the shortcode in the array near the bottom.

  Can you add this feature I just thought of?

Can I? Yes. Will I? Yes, if I think it would be a helpful addition. I’m trying to
keep things clean and simple, but there’s always room for improvement, so let me
know if you think a feature is lacking!

## Reviews

There are no reviews for this plugin.

## ডেভেলপার এবং কন্ট্রিবিউটর

“Count Children” is open source software. The following people have contributed 
to this plugin.

কন্ট্রিবিউটর

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)

[Translate “Count Children” into your language.](https://translate.wordpress.org/projects/wp-plugins/count-children)

### ডেভেলপমেন্ট এ আগ্রহী?

[Browse the code](https://plugins.trac.wordpress.org/browser/count-children/), check
out the [SVN repository](https://plugins.svn.wordpress.org/count-children/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/count-children/)
by [RSS](https://plugins.trac.wordpress.org/log/count-children/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * First released version.
 * There may still be bugs, but I can’t find any.

## মেটা

 *  Version **1.0.0**
 *  শেষ আপডেট করা হয়েছে **14 বছর আগে**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/count-children/)
 * ট্যাগ
 * [count](https://bn.wordpress.org/plugins/tags/count/)[page](https://bn.wordpress.org/plugins/tags/page/)
   [pages](https://bn.wordpress.org/plugins/tags/pages/)[tag](https://bn.wordpress.org/plugins/tags/tag/)
   [template](https://bn.wordpress.org/plugins/tags/template/)
 * টি
 *  [এডভান্সড ভিউ](https://bn.wordpress.org/plugins/count-children/advanced/)

## Ratings

এখনো কোনো রিভিউ জমা দেওয়া হয়নি।

[Your review](https://wordpress.org/support/plugin/count-children/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/count-children/reviews/)

## কন্ট্রিবিউটর

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/count-children/)

## ডোনেট

Would you like to support the advancement of this plugin?

 [ এই প্লাগিনে ডোনেট করুন ](http://shinraholdings.com/donate)