Title: Featured Post Widget
Author: tepelstreel
Published: <strong>2011 年 1 月 10 日</strong>
Last modified: 2016 年 2 月 28 日

---

搜索插件

![](https://ps.w.org/post-feature-widget/assets/banner-772x250.png?rev=547953)

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

![](https://ps.w.org/post-feature-widget/assets/icon-128x128.png?rev=1034305)

# Featured Post Widget

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

[下载](https://downloads.wordpress.org/plugin/post-feature-widget.4.2.1.zip)

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

 [支持](https://wordpress.org/support/plugin/post-feature-widget/)

## 描述

The Featured Post Widget is a fully customizable widget, that displays a single 
post. You can decide, whether or not the post thumbnail is displayed, whether the
post title is above or beneath the thumbnail and a couple of more things. And of
course, you can style the widget individually.

## 屏幕截图

 * [[
 * The plugin’s work on our testingsite
 * [[
 * The widget’s settings section

## 安装

 1. Upload the `post-feature-widget` folder to the `/wp-content/plugins/` directory
 2. 通过WordPress的的“Plugins”菜单激活插件
 3. Place and customize your widgets
 4. 准备

## 常见问题

  How do I get the image more responsive ?

If the widget container is smaller than the image size, the image will automatically
be adjusted to the widget size. In other words, just choose some width for the image
that is larger than your widget area and it will always have the right size.

  I styled the widget container myself and i looks bad. What do I do?

The styling of the widget requires some knowledge of css. If you are not familiar
with that, try adding

    ```
    padding: 10px;
    margin-bottom: 10px;
    ```

to the style section.

  My widget should have rounded corners, how do I do that?

Add something like

    ```
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    ```

to the widget style. This is not supported by all browsers yet, but should work 
in almost all of them.

  My widget should have a shadow, how do I do that?

Add something like

    ```
    -moz-box-shadow: 10px 10px 5px #888888;
    -webkit-box-shadow: 10px 10px 5px #888888;
    box-shadow: 10px 10px 5px #888888;
    ```

to the widget style to get a nice shadow down right of the container. This is not
supported by all browsers yet, but should work in almost all of them.

## 评价

![](https://secure.gravatar.com/avatar/d3cc2e0e5d7f8cc21e0a57fed2acc5bb5acc138fe68bfaf8bc415e4ec7eb3ec0?
s=60&d=retro&r=g)

### 󠀁[Works well](https://wordpress.org/support/topic/works-well-688/)󠁿

 [themadcatlady](https://profiles.wordpress.org/themadcatlady/) 2016 年 9 月 3 日

Does what it says on the tin. 🙂

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/post-feature-widget/reviews/)

## 贡献者及开发者

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

贡献者

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

[帮助将「Featured Post Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/post-feature-widget)

### 对开发感兴趣吗?

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

## 更新日志

#### 4.2.1

 * Automatic hyphation deletable

#### 4.2

 * WP 4.5 ready
 * New framework

#### 4.1.2

 * bugfix

#### 4.1.1

 * more accurate style sheet
 * infinite loop in some special cases fixed

#### 4.1

 * WP 4.3 ready
 * New framework

#### 4.0

 * WP 4.1 ready
 * New framework

#### 3.9.3

 * Mistake in image class fixed

#### 3.9.2

 * Interference with WordPress Page Widgets eliminated

#### 3.9.1

 * small bugfix

#### 3.9

 * DSS compressible
 * bugfix

#### 3.8.1

 * Small bugfix

#### 3.8

 * Code correction

#### 3.7

 * All ‘Devided by Zero’ errors should be eliminated

#### 3.6

 * Improvement of image recognition, more flexible

#### 3.5

 * code streamlined and options added

#### 3.4.1

 * small bugfix

#### 3.4

 * all possible errors that could cause the image to not resize are fixed
 * some small features added (possibility to give a post ID, order of the headline,
   date, excerpt etc.)

#### 3.3

 * small bugfixes and changes in the plugin framework
 * loads of new features added such as aligning the thumbnail and the text, displaying
   the date etc.

#### 3.2

 * code overhaul
 * hooks into the [Ads Easy Plugin](https://wordpress.org/extend/plugins/adeasy)
   if Google AdSense Tags are in use

#### 3.1

 * Better functionality getting the excerpt
 * Fetches the first image also, when working with galleries

#### 3.0

 * Some streamlining done, more fool proof.

#### 2.1

 * Minor bugfix, showing the excerpt.

#### 2.0

 * The widget now supports a customizable ‘read more’ link.

#### 1.9

 * Trying to get expandable textareas work.

#### 1.8.2

 * Bugfix with backup post; plugin works now also with slugs.

#### 1.8.1

 * Small bugfix with the backup post.

#### 1.8

 * A second post can now be defined as a backup, that will show up, if the widget
   is showing on a single post page, showing the feaured post. Just to avoid doublettes.

#### 1.7

 * Small changes in the handling that provide more accurate working.

#### 1.6

 * Dutch translation added.

#### 1.5

 * German translation added.

#### 1.0

 * Initial release

## 额外信息

 *  版本 **4.2.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/post-feature-widget/)
 * 标签
 * [feature](https://cn.wordpress.org/plugins/tags/feature/)[newspaper](https://cn.wordpress.org/plugins/tags/newspaper/)
   [post](https://cn.wordpress.org/plugins/tags/post/)[sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/post-feature-widget/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/post-feature-widget/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/post-feature-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/post-feature-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/post-feature-widget/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/post-feature-widget/reviews/?filter=1)

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

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

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/post-feature-widget/)

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=D8AVGNDYYUNA2)