Title: WP-SmartFeatures
Author: Aaron Brazell
Published: <strong>2008 年 12 月 1 日</strong>
Last modified: 2012 年 4 月 23 日

---

搜索插件

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

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

# WP-SmartFeatures

 作者：[Aaron Brazell](https://profiles.wordpress.org/technosailor/)

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

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

 [支持](https://wordpress.org/support/plugin/wp-smartfeatures/)

## 描述

Users can designate a specific keyword that will be used in providing featured content.
If you have ever seen a breaking news alert on, say, CNN.com, then you can possibly
see the value of keyword based “content floating”. Need everything tagged ‘Mumbai’
to show up as ‘featured’? What about ‘Red Sox’ around World Series time? This will
take some of the hand-rolling currently necessary out of designating featured articles.

### Self Serving Stuff

This plugin was created by Aaron Brazell of [Technosailor.com](http://technosailor.com).
I will often write about WordPress as well as other interesting things in the business,
technology and entrepreneurship world. You should subscribe.

## 安装

 1. Upload wp-smartfeatures to wp-content/plugins/
 2. Activate
 3. Add keyword on the Settings > Reading screen

## 常见问题

  I am using WordPress 2.6. How come this plugin will not work?

First of all, why are you using WordPress 2.6?! Update NOW.

Secondly, the plugin requires WordPress 3.2 or higher as PHP 5.2+ is required to
run this plugin.

  Can I designate more than one keyword?

Not at this time, but soon.

  How do I use this thing?

I have provided one template tag for use in your theme. It is the `smart_featured()`
tag. It takes 2 optional arguments. The first argument is $term and can be used 
to override the option set in WordPress admin. The second argument is $post_count
and it designates the number of posts that should be returned as “featured”. The
default is 1.

The Post Data is returned as a raw object, so you will need a little PHP to work
this stuff out. That said, I’ve intentionally left it raw to find out what the community
wants? If you provide some feedback, I can work it in – I just don’t want to assume
anything.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Aaron Brazell ](https://profiles.wordpress.org/technosailor/)

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

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **2.0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 3.2 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-smartfeatures/)
 * 标签
 * [featured](https://cn.wordpress.org/plugins/tags/featured/)[loop](https://cn.wordpress.org/plugins/tags/loop/)
   [template tag](https://cn.wordpress.org/plugins/tags/template-tag/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-smartfeatures/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Aaron Brazell ](https://profiles.wordpress.org/technosailor/)

## 支持

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

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