Title: Custom Post Type List Shortcode
Author: Blackbird Interactive
Published: <strong>2011 年 7 月 7 日</strong>
Last modified: 2014 年 12 月 10 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/custom-post-type-list-shortcode.svg)

# Custom Post Type List Shortcode

 由 [Blackbird Interactive](https://profiles.wordpress.org/blackbird-interactive/)
開發

[下載](https://downloads.wordpress.org/plugin/custom-post-type-list-shortcode.1.4.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/custom-post-type-list-shortcode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/custom-post-type-list-shortcode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/custom-post-type-list-shortcode/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/custom-post-type-list-shortcode/#developers)

 [技術支援](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/)

## 外掛說明

UPGRADE AT YOUR OWN RISK: We’ve added a legacy feature to the plugin which has been
tested and is working on our local WordPress install. However, every environment
is different, if you run into problem please visit http://blackbirdi.com/blog for
support.

When used with Custom Post Type UI plug-in (https://wordpress.org/extend/plugins/
custom-post-type-ui/) and Advanced Custom Fields plug-in (https://wordpress.org/
extend/plugins/advanced-custom-fields/), you can easily list all of the posts within
a post-type and sort by regular or custom fields.

Updated and tested on latest version of WordPress (4.0)

Most updates are because of users responding with requests. If you feel there is
something that you would like to see in the plugin visit our site and post a comment.

Enjoy!
 You can find documentation for the CPT_List @ (http://blackbirdi.com/blog/)

## 螢幕擷圖

 * [[
 * Use of the shortcode with some options in a page content area
 * [[
 * Custom post-type driven gallery after some jQuery and CSS.

## 安裝方式

 1. Upload `cpt_shortcode` directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Place shortcode `[cpt_list]` (see our site for documentation http://blackbirdi.
    com/blog ) in any content area/page that allows shortcode.

## 常見問題集

  Do I have to use Custom Post-types?

You do not have to use custom post-types, Custom Post Type List Shortcode pulls `
posts` by default, but the real power of this plugin lies in the use of custom post-
types.

  Is there paging?

Paging is not supported in this version, though it is planned for a future release.

  What can I do with this plugin

You can easily create a list of any specified custom post-type in any content area
that allows shortcode to be executed. Some examples of use are:
 1. Custom image
gallery managed via `gallery` custom post-type. 2. Resturant menu page, menu items
managed via `menu` custom post-type 3. Show schedule listing, where shows are managed
via `shows` custom post-type. 4. Employee directory with names/photos/info, managed
via `employees` custom post-type.

## 使用者評論

![](https://secure.gravatar.com/avatar/51381d30ba4c8318cc42b5b700cf28bca6411a191eea101aabc6469fba4af046?
s=60&d=retro&r=g)

### 󠀁[Thanks for such a useful plugin](https://wordpress.org/support/topic/thanks-for-such-a-useful-plugin/)󠁿

 [DEP Tech](https://profiles.wordpress.org/dep-tech/) 2016 年 9 月 3 日

Well done!

![](https://secure.gravatar.com/avatar/222654ed52cf1aff0db156b037df6bb3cd399ebeed75001853bf016ae064d75a?
s=60&d=retro&r=g)

### 󠀁[Finally something that works!](https://wordpress.org/support/topic/finally-something-that-works-7/)󠁿

 [grAPPfruit](https://profiles.wordpress.org/grappfruit/) 2016 年 9 月 3 日

Consider moving the documentation from your blog here please

 [ 閱讀全部 5 則使用者評論 ](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Custom Post Type List Shortcode〉的開發相關工作。

參與者

 *   [ Blackbird Interactive ](https://profiles.wordpress.org/blackbird-interactive/)
 *   [ Justin Greer ](https://profiles.wordpress.org/justingreerbbi/)

[將〈Custom Post Type List Shortcode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/custom-post-type-list-shortcode)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/custom-post-type-list-shortcode/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/custom-post-type-list-shortcode/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/custom-post-type-list-shortcode/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/custom-post-type-list-shortcode/)。

## 變更記錄

#### 1.4.4

 * Checked and ensured that the code worked on latest WP install.
 * Updated directory structure of plugin. Nothing major added/removed or tweaked
   code wise.

#### 1.4.3

 * Added legacy mode to make it support older installtions as well
 * Added inline styles for images to keep themes from overiding the thumbnail sizes
 * Added support for over under layout( Traditionally the plugin supported only 
   side by side content )
 * Wrapped content and images in class’s for easier modification with CSS
 * Minor cleanup based on user submittions at our blog http://blackbirdi.com/blog

#### 1.4.2

 * Added `filter_content` tag which allows for other plugins to hook into the plugin
 * Added support for ordering by custom fields. `meta_key`

#### 1.4.1

 * Added check for show date to rid the empty H3 tags

#### 1.4.0

 * Added more taxonomy features – Special thanks: Chris Sigler
 * Removed bulky documentation from admin area

#### 1.3.9

 * Fixed typo’s
 * Added support for Taxonomies
 * Cleaned house some for future additions

#### 1.3.8

 * Fixed typo’s

#### 1.3.5

 * Added menu in the admin panel contianing documentation and information.
 * Added new Arguments: show_date, images_only, imgaes_only_num, excerpt_only
 * Added Donation button
 * Fixed category bug

#### 1.3.4

 * Fixed boolean checks that were bugs when users input “false” for an option
 * Major bug-fixes

#### 1.3.3

 * Added a `div` with class of `cpt_item_entry_content` around the entry content
   of each cpt item

#### 1.3.2

 * Added new Argument: `wrap_with`
 * Minor bug-fixes

#### 1.3.1

 * Added new Arguments: `thumb_link`, `thumb_height`, `thumb_width`
 * Minor bug-fixes

#### 1.3

 * Added new Arguments: `category`, `use_single_blocks`, `title_links`, `link_to_file`,`
   attachment`, `show_thumbs`, `show_post_content`, `read_more_link`, `list_title`,`
   file_extension`
 * Changed Loop Structure
 * Added New Classes

#### 1.0

 * Initial build

## 中繼資料

 *  版本 **1.4.4**
 *  最後更新 **11 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.0.38**
 *  語言
 * [English (US)](https://wordpress.org/plugins/custom-post-type-list-shortcode/)
 * 標籤:
 * [cpt](https://tw.wordpress.org/plugins/tags/cpt/)[custom post type](https://tw.wordpress.org/plugins/tags/custom-post-type/)
   [post list](https://tw.wordpress.org/plugins/tags/post-list/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/custom-post-type-list-shortcode/advanced/)

## 評分

 4.6 星，滿分為 5 星

 *  [  3 個 5 星使用者評論     ](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/reviews/?filter=5)
 *  [  2 個 4 星使用者評論     ](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/reviews/)

## 參與者

 *   [ Blackbird Interactive ](https://profiles.wordpress.org/blackbird-interactive/)
 *   [ Justin Greer ](https://profiles.wordpress.org/justingreerbbi/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/custom-post-type-list-shortcode/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://blackbirdi.com/donate/)