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

Favorites Posts

描述

Plugin adds a widget that allows to display anounces of selected posts in a special blocks in the sidebar. Supports the display of thumbnails, custom fields, your own styles. Styles may be configured through a separate CSS file.

Widget options:

  • Category ID (the desired category ID)
  • Number of anounces (number of displaying anounces)
  • Number of chars (number of chars in one anounce)
  • With custom field (only for anounces with custom fields)
  • Special style
  • Show category (displaying or not the name of category)
  • Show thumbnail

To insert thumbnail in a block with the announcement,
just add the appropriate post field ‘favpostimg’ (lowercase, without quotes)
and set full path (URL) to image.

If you want display only favorites posts that you want,
then add in the appropriate post any custom field with any value
(value of custom field must be not empty) and set this field in widget options.
In this case categories do not matter.

Add to sidebar so many widgets as you like and displaying through each
widget only selected posts with appropriate custom fields.

If nothing set in widget options, then default settings is category 1,
number of anounces 3, number of chars in each anounce 300.

For make your own style of special anounces blocks use css file ‘/favposts/favposts.css’.

List of css classes that you can change:

  • cat-design – style displaying of category
  • cat-nodesign – displaying category without special style
  • fav-title – style titles of posts
  • favblok-design – style displaying of anounce
  • favblok-nodesign – style displaying without special style
  • favimg – style displaying thumbnails in anounces

螢幕截圖

  • screenshot-1.jpg
  • screenshot-2.jpg
  • screenshot-3.jpg

安裝

  1. Upload whole directory favposts to the /wp-content/plugins/ directory.
  2. Activate the plugin ‘Favorites Posts’ through the ‘Plugins’ menu in WordPress.
  3. Add the widget ‘Favorites Posts’ to your sidebar from Appearance->Widgets and configure the widget options.

常見問題

Why thumbnail not displaying in anounces?

May be not correct custom field or not correct path (URL) to image. Check it.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 Favorites Posts 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • First version.

1.5

  • Confirmed WordPress 3.4 compatibility
  • Various bug fixes and code cleanups