Title: Select Featured Posts
Author: mediology
Published: <strong>2010 年 7 月 26 日</strong>
Last modified: 2010 年 11 月 18 日

---

搜尋外掛

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

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

# Select Featured Posts

 由 [mediology](https://profiles.wordpress.org/mediology/) 開發

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

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

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

## 外掛說明

This allows you to mark the selected post as featured post and hence enables editors,
publishers, bloggers etc to feature relavent content on the site.

In most content publishing scenarios, where there are a large set of contributors,
certain posts require to be featured in relevant content sections of your WP site,
so that they draw the maximim attention span from the readers. This Plugin allows
the editors or administrators to mark a set of posts as featured posts. Then using
a simple functional call in your theme, you can dynamically display the featured
posts. if you want to place it separatly.

**Select Featured Posts plugin is also available as a widget.**

We would be keen you hear your feedback and requests for any enhancements. Please
send your feedback to wordpress@mediologysoftware.com.

## 螢幕擷圖

[⌊Select Featured post checkbox in the Admin panel⌉⌊Select Featured post checkbox
in the Admin panel⌉[

Select Featured post checkbox in the Admin panel

[⌊Widget Display.⌉⌊Widget Display.⌉[

Widget Display.

## 安裝方式

 1. Upload the `select-featured-posts` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the Posts -> Posts screen if you have wordpress 3.0 and for older versions
    go to Posts -> Edit.
 4. Check and uncheck posts to make it featured/unfeatured
 5. To use it in theme add this before query_posts or get_posts
 6. if (function_exists(‘featured_posts’)) { featured_posts(‘add’); }
 7. If query_posts or get_posts is not there in your theme then you can add above code
    and query_posts before while loop For eg.

    ```
      if (function_exists('featured_posts')) {
        featured_posts('add');
      }
      query_posts('posts_per_page=10');
        while ( have_posts() ) : the_post();
        //Your Code
      endwhile; // end of the loop.
      if (function_exists('featured_posts')) {
        featured_posts('remove');
      }
    ```

 1. To remove the featured post from the query post buffer once the same have been 
    displayed add this code
 2. if (function_exists(‘featured_posts’)) { featured_posts(‘remove’); }

For eg.

    ```
      if (function_exists('featured_posts')) {
          featured_posts('add');
        }
        query_posts('category_name=Entertainment');
        // Hence now that the featured posts have been displayed clear them so that they don't get repeated.
        if (function_exists('featured_posts')) {
          featured_posts('remove');
        }
    ```

So it will give featured post of Entertainment Category.

OR

 1. If you want to get Featured post IDs only then use this
 2. if (function_exists(‘get_featured_posts’)) { $limit = 5; $featured_posts = get_featured_posts(
    $limit); }
 3. If your theme supports widgets then go to Appearance -> Widgets and just Drag and
    Drop Select Featured Post Widget.
 4. In widget you can specify total no of posts or Featured Post of a Category.

## 常見問題集

Please send us your questions to wordpress@mediologysoftware.com. We will feature
the frequently asked questions and answers here.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ mediology ](https://profiles.wordpress.org/mediology/)
 *   [ Kapil Chugh ](https://profiles.wordpress.org/kapilchugh/)

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

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

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

## 變更記錄

#### 0.2

 * Removed Notices and updated documentation

#### 0.1

 * Initial release

## 中繼資料

 *  版本 **0.2**
 *  最後更新 **16 年前**
 *  啟用安裝數 **80+**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.0.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/select-featured-posts/)
 * 標籤:
 * [ajax](https://tw.wordpress.org/plugins/tags/ajax/)[featured](https://tw.wordpress.org/plugins/tags/featured/)
   [featured post](https://tw.wordpress.org/plugins/tags/featured-post/)[post](https://tw.wordpress.org/plugins/tags/post/)
 *  [進階檢視](https://tw.wordpress.org/plugins/select-featured-posts/advanced/)

## 評分

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

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

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

## 參與者

 *   [ mediology ](https://profiles.wordpress.org/mediology/)
 *   [ Kapil Chugh ](https://profiles.wordpress.org/kapilchugh/)

## 技術支援

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

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