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

Content Widget

外掛說明

With this plugin you can display the content of a post (of any type) in a widget area. You can also limit number of words, change the delimiter and add a read more link to it.

This means, in a widgetized theme, you can move the content around and arrange it however you like, and even reuse it in multiple places. Also comes in handy if you want your client to be in charge of the content, without having access to the Widgets manager.

Since 0.3 you can also query for a random post, or the latest post and limit it by category and offset.

螢幕擷圖

  • Widget options

安裝方式

  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Goto Appearance -> Widgets and add some Content Widget.
  4. Enjoy!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Content Widget〉的開發相關工作。

參與者

將〈Content Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.4.2

  • Compatibility with SiteOrigin Page Builder and Themify Builder plugins

0.4.1

  • Fix notice and warning messages
  • Add option to show featured image

0.4

  • Code refactor
  • i18n support

0.3

  • Improvements suggested by Carsten Bach here: https://gist.github.com/3866525. Thanks Carsten!
  • Added the ability to query latest post or random post
  • Added the category and offset options

0.2.1

  • Replaced limit_words method with the built-in wp_trim_words function

0.2

  • Added templating capability
  • Fixed a left over print command which was intended for debugging purposes 🙂

0.1.2

  • Fixed a minor bug concerning WP_Query and post_type parameter

0.1.1

  • Added the option to hide the title