Title: Featured Category Widget
Author: tepelstreel
Published: <strong>2012 年 3 月 22 日</strong>
Last modified: 2016 年 2 月 26 日

---

搜索插件

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

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

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

# Featured Category Widget

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

[下载](https://downloads.wordpress.org/plugin/category-feature.2.5.zip)

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

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

## 描述

The Featured Category Widget is mainly designed because there were people for whom
the Featured Post Widget was not enough. They wanted to put a category of their 
blog in the highlight.
 If there is a post thumbnail, it will be displayed above
the headline of the post. If there is no thumbnail, the first picture of the post
is taken. You can set the size for the thumbnail or just take the standard from 
your options. Decide yourself, whether you want to show the excerpt, saved with 
your post or just the first three sentences or the first twenty words of the post.
Style the widget individually, ready.

The Featured Category was tested up to WP 4.5. It should work with versions down
to 2.9 but was never tested on those.

## 屏幕截图

[⌊The plugin's work on our testing page⌉⌊The plugin's work on our testing page⌉[

The plugin’s work on our testing page

[⌊The widget's settings section⌉⌊The widget's settings section⌉[

The widget’s settings section

## 安装

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

## 常见问题

  I styled the widget container myself and it 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.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

「Featured Category Widget」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/category-feature/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 2.5

 * WP 4.5 ready
 * New framework

#### 2.4.1

 * forgotten var_dump() taken out

#### 2.4

 * WP 4.3 ready
 * New framework

#### 2.3.1

 * bug with visiblity fixed

#### 2.3

 * WP 4.1 ready
 * New framework

#### 2.2.2

 * Mistake in image class fixed

#### 2.2.1

 * Interference with WordPress Page Widgets eliminated

#### 2.2

 * Bug fixed with featured images

#### 2.1

 * Posts now sortable in alphabetical order
 * DSS compressable

#### 2.0.1

 * Made compliant with WP 3.9.1 and small bugfix

#### 2.0

 * New feature to have post of the main loop in the widget on single pages

#### 1.9

 * All ‘Devided by Zero’ errors should be eliminated

#### 1.8

 * Improvement in image recognition, more flexible

#### 1.7.1

 * image border added and some streamlining done

#### 1.7

 * streamlined code
 * alignment of the thumbnail now possible
 * you can show the post date
 * more responsive

#### 1.6

 * adjustments in the framework
 * some more customizing was asked

#### 1.5

 * you can now link the widget title to the displayed category

#### 1.4

 * possibility to change size of thumbnail added; small bug fixed

#### 1.3

 * small bugfix in auto excerpt

#### 1.2

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

#### 1.1

 * possibility to choose random posts

#### 1.0

 * initial release

## 额外信息

 *  版本 **2.5**
 *  最后更新：**10 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/category-feature/) 和 [German](https://de.wordpress.org/plugins/category-feature/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/category-feature)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[column](https://cn.wordpress.org/plugins/tags/column/)
   [newspaper](https://cn.wordpress.org/plugins/tags/newspaper/)[sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/category-feature/advanced/)

## 评级

 4.2 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

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