Title: Child Page Templates
Author: j
Published: <strong>28 سپتامبر 2012</strong>
Last modified: 28 سپتامبر 2012

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/child-page-templates.svg)

# Child Page Templates

 توسط [j](https://profiles.wordpress.org/joe-anzalone/)

[دانلود](https://downloads.wordpress.org/plugin/child-page-templates.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/child-page-templates/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/child-page-templates/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/child-page-templates/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/child-page-templates/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/child-page-templates/)

## توضیحات

Allows theme authors to include templates that will be automatically used based 
on the page’s parent.

For example, adding the file “page-123.php” to the “child-page-templates” folder
in your theme directory will define the template for all pages that are children
of the page with ID #123. You can also do the same thing with the post’s slug.

This template file will be used for all pages that are children of the page with
ID #123:
 /wp-content/themes/your-awesome-theme/child-page-templates/page-123.php

This template file will be used for all pages that are children of the page with
the “team” slug:
 /wp-content/themes/your-awesome-theme/child-page-templates/page-
team.php

## نصب

 1. Extract the zip file and drop the contents in the wp-content/plugins/ directory
    of your WordPress installation and then activate the plugin from the “Plugins” 
    page.
 2. Create a folder in your theme (or child theme, if you use one) called “child-page-
    templates”
 3. Add a PHP file named after the slug or ID of the parent page you want to use a 
    custom template for.
 4.  * For example: If you want every child page of your “Portfolio” page to use a 
       particular template file, name that template file “page-portfolio.php”

## سوالات متداول

  Will the child-page-templates folder in my theme directory get overwritten when
a new version of my theme is released?

Yes! If you didn’t create your theme yourself, you should definitely be using a 
[child theme](https://codex.wordpress.org/Child_Themes).
 Your child-page-templates
folder will be safe so long as you add it to a theme (or child theme) you created.
Even when the parent theme upgrades, your child theme will be untouched.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Child Page Templates” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ j ](https://profiles.wordpress.org/joe-anzalone/)

[ترجمه “Child Page Templates” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/child-page-templates)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/child-page-templates/)،
[مخزن SVN](https://plugins.svn.wordpress.org/child-page-templates/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/child-page-templates/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/child-page-templates/) مشترک
شوید.

## گزارش تغییرات

#### 1.0.2

 * First public release

## اطلاعات

 *  نگارش **1.0.2**
 *  آخرین به‌روزرسانی **14 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 3.3 یا بالاتر **
 *  آزمایش‌شده تا **3.4.2**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/child-page-templates/)
 * برچسب
 * [template hierarchy](https://fa.wordpress.org/plugins/tags/template-hierarchy/)
   [themes](https://fa.wordpress.org/plugins/tags/themes/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/child-page-templates/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/child-page-templates/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/child-page-templates/reviews/)

## مشارکت کنندگان

 *   [ j ](https://profiles.wordpress.org/joe-anzalone/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/child-page-templates/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://joeanzalone.com/plugins/child-page-templates/)