Title: Custom Post Type Images
Author: yonisink
Published: <strong>21 december 2011</strong>
Last modified: 18 januari 2012

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# Custom Post Type Images

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

[Download](https://downloads.wordpress.org/plugin/custom-post-types-image.0.6.zip)

 * [Details](https://nl.wordpress.org/plugins/custom-post-types-image/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/custom-post-types-image/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/custom-post-types-image/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/custom-post-types-image/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/custom-post-types-image/)

## Beschrijving

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.

## Schermafbeeldingen

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

cptImages options page.

## Installatie

 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.

## FAQ

  None so far

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Custom Post Type Images” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

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

[Vertaal “Custom Post Type Images” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/custom-post-types-image)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/custom-post-types-image/),
haal de [SVN repository](https://plugins.svn.wordpress.org/custom-post-types-image/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/custom-post-types-image/)
via [RSS](https://plugins.trac.wordpress.org/log/custom-post-types-image/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versie **0.5**
 *  Laatst geüpdatet **14 jaar geleden**
 *  Actieve installaties **10+**
 *  WordPress versie ** 3 of nieuwer **
 *  Getest t/m **3.3.2**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/custom-post-types-image/)
 * Tags
 * [custom post type](https://nl.wordpress.org/plugins/tags/custom-post-type/)[custom post type archives](https://nl.wordpress.org/plugins/tags/custom-post-type-archives/)
   [image attachments](https://nl.wordpress.org/plugins/tags/image-attachments/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/custom-post-types-image/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Your review](https://wordpress.org/support/plugin/custom-post-types-image/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/custom-post-types-image/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/custom-post-types-image/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](http://shop.social-ink.net)