這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

螢幕截圖

安裝

  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

評價

There are no reviews for this plugin.

貢獻者及開發者

“IMG Custom Post Types” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 IMG Custom Post Types 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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