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

Custom Post Display

描述

You can use the Custom Post Display plugin to display the contents of any custom post type in your WordPress site.

Features include:

  • Options to order by Post Title, Date and Menu Order
  • Inclusion of Featured Image
  • Customize number of posts displayed
  • Specify number of characters for post excerpt

More information and a demo can be found at my site.

螢幕截圖

  • Widget options.
  • Sample output.

安裝

  1. Download and unzip the file.
  2. Upload the Custom Post Display folder in your WordPress plugins folder
  3. Log in to WordPress and go to Plugins
  4. Click on the Activate link for Custom Post Display.
  5. Go to Appearance > Widgets and add the Custom Post Display widget to your sidebar.

常見問題

Can I use this widget for Posts and Pages?

Yes, you have the option to choose Posts or Pages when you choose a custom post type. You can actually just use this widget to display recent posts or pages.

Can I choose which posts to feature?

Yes, if you have the Page Attributes box enabled for your custom post type (or Post/Page), when you edit that post, just enter a number in the Order box.
Number your posts according to the order you want them to appear, then, in the Widget options, just choose ‘Menu Order’ in the ‘Sort By’ field and choose your Sort order.

評價

2016年9月3日
Works well for my site. Hope you have an additional feature to use a shortcode instead of a widget.
2016年9月3日
Needed a plugin to display the custom posts in a widget for a project I have and this one works like a charm.
閱讀全部5個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.2

  • Replaced deprecated WP Widgets construct
  • Added option for thumbnail alignment

1.0

  • Fixed issue with missing word trimmer function

1.0

  • Initial release