Title: Custom Post Type Images
Author: yonisink
Published: <strong>21 ທັນວາ 2011</strong>
Last modified: 18 ມັງກອນ 2012

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ 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://lo.wordpress.org/plugins/custom-post-types-image/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/custom-post-types-image/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/custom-post-types-image/#installation)
 * [ການພັດທະນາ](https://lo.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” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມ
ໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ 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

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.5**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **15 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 3 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.3.2**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/custom-post-types-image/)
 * ແທັກ
 * [custom post type](https://lo.wordpress.org/plugins/tags/custom-post-type/)[custom post type archives](https://lo.wordpress.org/plugins/tags/custom-post-type-archives/)
   [image attachments](https://lo.wordpress.org/plugins/tags/image-attachments/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.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)