Title: Custom Post Type Images
Author: yonisink
Published: <strong>21 دسامبر 2011</strong>
Last modified: 18 ژانویه 2012

---

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

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

![](https://s.w.org/plugins/geopattern-icon/custom-post-types-image.svg)

# Custom Post Type Images

 توسط [yonisink](https://profiles.wordpress.org/yonisink/)

[دانلود](https://downloads.wordpress.org/plugin/custom-post-types-image.0.6.zip)

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

 [پشتیبانی](https://wordpress.org/support/plugin/custom-post-types-image/)

## توضیحات

Custom Post Type Images makes it easy to attach an image to any custom post type,
which you can then call as necessary in the archive page for that post type OR in
the single itself, depending on how you use the plugin. Think of it as a featured
image for your post types, which you can use on overview or other pages.

## عکس‌های صفحه

[⌊cptImages options page.⌉⌊cptImages options page.⌉[

cptImages options page.

## نصب

 1. Upload `cptImages` directory to your `/wp-content/plugins/` directory
 2. Activate the Custom Post Type Images plugin through the ‘Plugins’ page in WordPress
 3. Go to Tools > Manage Custom Post Type Images.
 4. To use, select an image for the custom post type and attach. You can then use the
    image in various ways:

As a shortcode. Put [cptImage] wherever you want the image to appear. Not that in
this usage (without a parameter) it will only appear when you are on a single item
of that custom post type OR in the archive page itself. To call any attached image,
use [cptImage cpt=”Custom Post Type Name”].

In PHP in your template. To retrieve the image url to a variable, use get_cptimage_image(
$optionalname, $echo) (you can use get_cptimage_image(“Custom Post Type Name”) to
retrieve a specific post type image, or get_cptimage_image(“Custom Post Type Name”,
true) to echo the url rather than retrieving it. To merely display the image, call
cptimage_image(“Custom Post type Name”) or simply cptimage_image(). Not that if 
you do not pass a post type name it will only appear when you are on a single item
of that custom post type OR in the archive page itself.

Please note, as with every plugin or theme modification, you should do a backup 
of your files beforehand. Although we’ve tested this across many installs, we are
not responsible for anything it does to your system and do not guarantee support.

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

  None so far

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

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

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

“Custom Post Type Images” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت 
کرده‌اند.

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

 *   [ yonisink ](https://profiles.wordpress.org/yonisink/)

[ترجمه “Custom Post Type Images” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/custom-post-types-image)

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

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

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

#### 0.5

## اطلاعات

 *  نگارش **0.5**
 *  آخرین به‌روزرسانی **15 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 3 یا بالاتر **
 *  آزمایش‌شده تا **3.3.2**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/custom-post-types-image/)
 * برچسب
 * [custom post type](https://fa.wordpress.org/plugins/tags/custom-post-type/)[custom post type archives](https://fa.wordpress.org/plugins/tags/custom-post-type-archives/)
   [image attachments](https://fa.wordpress.org/plugins/tags/image-attachments/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/custom-post-types-image/advanced/)

## امتیازها

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

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

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/custom-post-types-image/reviews/)

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

 *   [ yonisink ](https://profiles.wordpress.org/yonisink/)

## پشتیبانی

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

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/custom-post-types-image/)

## کمک مالی

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

 [ کمک مالی به این افزونه ](http://shop.social-ink.net)