Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Custom Post Type List Shortcode

Mô tả

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 for support.

When used with Custom Post Type UI plug-in ( and Advanced Custom Fields plug-in (, 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.

You can find documentation for the CPT_List @ (

Ảnh màn hình

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

Cài đặt

  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 ) in any content area/page that allows shortcode.

Hỏi đáp

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.

Đánh giá

Đọc tất cả 5 đánh giá

Người đóng góp & Lập trình viên

“Custom Post Type List Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi


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


  • 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


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


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


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


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


  • Fixed typo’s


  • 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


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


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


  • Added new Argument: wrap_with
  • Minor bug-fixes


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


  • 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


  • Initial build