Title: IMG Custom Post Types
Author: imgiseverything
Published: <strong>2012 年 2 月 29 日</strong>
Last modified: 2014 年 2 月 14 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# IMG Custom Post Types

 作者：[imgiseverything](https://profiles.wordpress.org/imgiseverything/)

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

 * [详情](https://cn.wordpress.org/plugins/img-custom-post-types/#description)
 * [评价](https://cn.wordpress.org/plugins/img-custom-post-types/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/img-custom-post-types/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/img-custom-post-types/#developers)

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

## 描述

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.

## 屏幕截图

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

## 安装

 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

## 评价

此插件暂无评价。

## 贡献者及开发者

「IMG Custom Post Types」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「IMG Custom Post Types」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/img-custom-post-types)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/img-custom-post-types/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/img-custom-post-types/)，或通过[RSS](https://plugins.trac.wordpress.org/log/img-custom-post-types/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/img-custom-post-types/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **0.96**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/img-custom-post-types/)
 * 标签
 * [custom](https://cn.wordpress.org/plugins/tags/custom/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/img-custom-post-types/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/img-custom-post-types/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/img-custom-post-types/)