Title: Favorites Posts
Author: seobiz
Published: <strong>2009 年 11 月 25 日</strong>
Last modified: 2012 年 7 月 4 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/favorites-posts.svg)

# Favorites Posts

 作者：[seobiz](https://profiles.wordpress.org/seobiz/)

[下载](https://downloads.wordpress.org/plugin/favorites-posts.zip)

 * [详情](https://cn.wordpress.org/plugins/favorites-posts/#description)
 * [评价](https://cn.wordpress.org/plugins/favorites-posts/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/favorites-posts/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/favorites-posts/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Favorites Posts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ seobiz ](https://profiles.wordpress.org/seobiz/)

[帮助将「Favorites Posts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/favorites-posts)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/favorites-posts/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/favorites-posts/)，或通过[RSS](https://plugins.trac.wordpress.org/log/favorites-posts/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/favorites-posts/)。

## 更新日志

#### 1.0

 * First version.

#### 1.5

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

## 额外信息

 *  版本 **1.5**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0.2 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/favorites-posts/)
 * 标签
 * [favorite](https://cn.wordpress.org/plugins/tags/favorite/)[post](https://cn.wordpress.org/plugins/tags/post/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/favorites-posts/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/favorites-posts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/favorites-posts/reviews/)

## 贡献者

 *   [ seobiz ](https://profiles.wordpress.org/seobiz/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/favorites-posts/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.djmakebiz.com)