Title: IMG Custom Post Types
Author: imgiseverything
Published: <strong>29 februari 2012</strong>
Last modified: 14 februari 2014

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# IMG Custom Post Types

 Av [imgiseverything](https://profiles.wordpress.org/imgiseverything/)

[Ladda ner](https://downloads.wordpress.org/plugin/img-custom-post-types.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/img-custom-post-types/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/img-custom-post-types/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/img-custom-post-types/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/img-custom-post-types/#developers)

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

## Beskrivning

Custom Post Types, are by far and away one of the best additions to WordPress. However,
they can be a bit cumbersome to set-up.

With the IMG Custom Post Types plug-in creating basic custom post types is now easy.

## Skärmdumpar

[⌊Add/Edit screen of your custom post type⌉⌊Add/Edit screen of your custom post 
type⌉[

Add/Edit screen of your custom post type

[⌊View all listings for your custom post type⌉⌊View all listings for your custom
post type⌉[

View all listings for your custom post type

## Installation

 1. Upload the `img-custom-post-types` folder to the `/wp-content/plugins/` directory
 2. Activate the IMG Custom Post Types plugin through the ’Plugins’ menu in WordPress
 3. Add new custom post types by editing your functions.php file using these examples

 * Usage: –

Simple example: https://gist.github.com/1939891

Example with custom meta fields: https://gist.github.com/1939907

Complex example: https://gist.github.com/1939868

Example with custom meta fields and data types: https://gist.github.com/1939932

Retrieving custom post type and Ordering by a date based custom field https://gist.
github.com/2157663

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”IMG Custom Post Types” är programvara med öppen källkod. Följande personer har 
bidragit till detta tillägg.

Bidragande personer

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

[Översätt ”IMG Custom Post Types” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/img-custom-post-types)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/img-custom-post-types/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/img-custom-post-types/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/img-custom-post-types/)
via [RSS](https://plugins.trac.wordpress.org/log/img-custom-post-types/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 0.96

 * Take advantage of new type=”date” input attribute/value on date fields. Removal
   of custom date picker where HTML5 is supported

#### 0.951

 * Bug fixed where NULL/unset foreign keys field shows the post title in table listings
   view

#### 0.95

 * If thumbnails are supported then they are shown in the listings screen of the
   custom post type
 * Instead of just one to one relationships between two custom post types you can
   now assign one to many relationships by naming a custom field say `example_taxonomy`

#### 0.941

 * Date picker CSS and JavaScript improved (a tiny tiny bit)

#### 0.94

 * Bug fixed where custom taxonomies were added to posts as well as the new custom
   post type

#### 0.93

 * Ability to use a datepicker to date fields in custom fields
 * Date fields get timestamped too, so order by date in the get_posts() function
   with the meta_compare value should work
 * Bug fixed where custom meta fields were not showing in View Posts listings view
 * Longer copy custom fields (indicated by an _textarea naming convention) not show
   in View Posts listings view

#### 0.92

 * Read me file improved.
 * Screenshots added.

#### 0.91

 * Tiny bug fixed with the naming of custom fields

## Meta

 *  Version **0.96**
 *  Senast uppdaterat **12 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.3 eller senare **
 *  Testat upp till **3.4.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/img-custom-post-types/)
 * Etiketter
 * [custom](https://sv.wordpress.org/plugins/tags/custom/)[posts](https://sv.wordpress.org/plugins/tags/posts/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/img-custom-post-types/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/img-custom-post-types/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/img-custom-post-types/)