Title: Custom Post Type Images
Author: yonisink
Published: <strong>21.12.2011</strong>
Last modified: 18.01.2012

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](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://ru.wordpress.org/plugins/custom-post-types-image/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/custom-post-types-image/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/custom-post-types-image/#installation)
 * [Разработка](https://ru.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/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/custom-post-types-image/)
по [RSS](https://plugins.trac.wordpress.org/log/custom-post-types-image/?limit=100&mode=stop_on_copy&format=rss).

## Мета

 *  Версия **0.5**
 *  Обновление: **14 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 3 или выше **
 *  Совместим вплоть до: **3.3.2**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/custom-post-types-image/)
 * Метки:
 * [custom post type](https://ru.wordpress.org/plugins/tags/custom-post-type/)[custom post type archives](https://ru.wordpress.org/plugins/tags/custom-post-type-archives/)
   [image attachments](https://ru.wordpress.org/plugins/tags/image-attachments/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/custom-post-types-image/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Your review](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)