Title: Featured Category
Author: Clifton Griffin
Published: <strong>2008 年 10 月 8 日</strong>
Last modified: 2011 年 2 月 2 日

---

搜尋外掛

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

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

# Featured Category

 由 [Clifton Griffin](https://profiles.wordpress.org/clifgriffin/) 開發

[下載](https://downloads.wordpress.org/plugin/featured-category.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/featured-category/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/featured-category/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/featured-category/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/featured-category/#developers)

 [技術支援](https://wordpress.org/support/plugin/featured-category/)

## 外掛說明

Featured Category allows you to display recent posts from the category of your choosing
at the top of your home page before “The Loop”. You are able to customize the number
of posts, the style they are displayed in, and the heading used to describe. It 
is perfect for displaying recent news, projects, and other things you may wish to
stand out in your blog.

This is not a sidebar widget. It is a home page addition. See the provided screenshots
to understand how it might look on your site.

**Donate?**

If you use this plugin and find that it serves your needs well, please consider 
a donation. 🙂

**Support**

If you need support, I recommend you leave a comment on the appropriate post on 
my blog:
 http://clifgriffin.com/2008/10/05/featured-category/

**Special Requests**

If you need a customization or change specific to your install, I am available for
hire. Shoot me an e-mail: clifgriffin[at]gmail.com

#### Version History

**1.1**

 * Integrated CSS into admin panel. Now stores stylesheet in WordPress database.
 * Added instructions.
 * Tweaked a few other things.

**1.0.2.1**

 * Fixed security issue. Now only administrators can modify admin settings.
 * Deleted trailing spaces at the end of the main plugin file. This was somehow 
   causing conflicts with WP Super Cache plugin. Bizzarre, I know.

**1.0.2**

 * Fixed path name. (WordPress renamed the installation folder.)

**1.0.1**

 * Settings page now sets the category drop down box selection when you return to
   the page.
 * It shouldn’t run in sidebar widgets anymore. (Assuming the content portion loads
   before sidebar…I may need to tweak this in the future.)

**1.0**

 * Original release.

#### Background

About a month ago I began searching for a plugin I just knew existed. I needed a
plugin that would allow me to select a category, a number of posts, and display 
a neatly formatted list of the applicable posts from that category.

For the site in question, I needed to list recent posts from a “Projects” category.
I imagined that there would be at minimum a plugin for posting news items that I
could modify. I settled with using The_Loop. At the time I made a mental note “I
need to turn this into a plugin.”

Which brings us to Featured Category, my first WordPress Plugin. (Be gentle!)

I tried to follow the WordPress API as closely as possible.

Once you activate the plugin, simply load its settings page and choose the category,
the title or “heading” and the number of posts you wish to display.

If the style is not to your liking, the CSS in the plugin admin page. I have included
entries for implemented and unimplemented portions to speed things up.

## 螢幕擷圖

 * [[
 * A sample from my site.
 * [[
 * The settings page.

## 安裝方式

 1. Upload the directory “featured-category” to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Customize settings via settings control panel in wordpress administration pages.

## 常見問題集

  Why aren’t my changes showing up?

Probably browser or plugin caching. If you have a caching plugin enabled, ensure
you delete the cached version and refresh again.

  How do I customize the style?

Modify style sheet in admin page.

  Can feature x be added?

Maybe! E-mail me: webmaster[at]clifgriffin.com

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Featured Category〉的開發相關工作。

參與者

 *   [ Clifton Griffin ](https://profiles.wordpress.org/clifgriffin/)

[將〈Featured Category〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/featured-category)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/featured-category/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/featured-category/)，或透過 
[RSS](https://plugins.trac.wordpress.org/log/featured-category/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/featured-category/)。

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **15 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.0.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/featured-category/)
 * 標籤:
 * [categories](https://tw.wordpress.org/plugins/tags/categories/)[featured](https://tw.wordpress.org/plugins/tags/featured/)
   [recent](https://tw.wordpress.org/plugins/tags/recent/)
 *  [進階檢視](https://tw.wordpress.org/plugins/featured-category/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/featured-category/reviews/)

## 參與者

 *   [ Clifton Griffin ](https://profiles.wordpress.org/clifgriffin/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/featured-category/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://clifgriffin.com/donate/)