Title: Featured Posts and Custom Posts
Author: Jeremy Selph
Published: <strong>2012 年 6 月 20 日</strong>
Last modified: 2015 年 2 月 26 日

---

搜尋外掛

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

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

# Featured Posts and Custom Posts

 由 [Jeremy Selph](https://profiles.wordpress.org/jeremyselph/) 開發

[下載](https://downloads.wordpress.org/plugin/featured-posts-and-custom-posts.5.0.zip)

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

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

## 外掛說明

When working on WordPress themes, we tend to use a lot of custom post types. This
gives the end- user custom little sections to manage content in. Often enough we
see the need to be able to feature posts or custom posts of custom post types (cpts).

This can be accomplished by using a bunch of different Featured Posts Plugins. And
we probably have used all of them over the years. To date we have yet to find one
that didn’t conflict or break somehting in our WordPress themes. So we created our
own, to be specifc we created our own to be easily used with Posts, Custom Posts,
and with the Simple Page ordering plugin that we install on every WordPress Theme
that we develop.

To use:

 1. Download the feature-posts-and-custom-posts.zip file to your computer.
 2. Unzip the file.
 3. Upload the feature-posts-and-custom-posts folder to your /wp-content/plugins/ directory.
 4. Activate the plugin through the Plugins menu in WordPress.
 5. In your theme and in the template you need the featured functionality uses a custom
    query like this query_posts("post_type=professionals&posts_per_page=-1&meta_key
    =_jsFeaturedPost&meta_value=yes"); to grad all of the featured posts.

For Plugin and Theme development requets email us at info@reactivedevelopment.net
or go here http://www.reactivedevelopment.net/. If you have questions or requests
for this plugin go here https://wordpress.org/support/plugin/featured-posts-custom-
posts, for quick and paid support message us here at http://www.reactivedevelopment.
net/contact/send-message/.

New in Version 2.0
 1. New js_featured_is_post_featured( postID[int] ) function 
2. short cut is_post_featured( userID[int] ) function 3. js_featured_return_all_featured()
function that returns an array of featured posts 4. New widget added 5. Post class“
jsFeatured” on archive templates added if the post is featured 6. New shortcode [
jsFeaturedPosts posts_per_page=”1″ wrap_before=”

 * ” wrap_after=”

” link_before=”

  ” link_after=”
  ” link_atts=”rel=’bookmark’” link_title=”Link to”]
  
  ## 安裝方式
  
   1. Download the feature-posts-and-custom-posts.zip file to your computer.
   2. Unzip the file.
   3. Upload the feature-posts-and-custom-posts folder to your /wp-content/plugins/
      directory.
   4. Activate the plugin through the Plugins menu in WordPress.
   5. In your theme and in the template you need the featured functionality uses a 
      custom query like this query_posts("post_type=professionals&posts_per_page=-1&
      meta_key=_jsFeaturedPost&meta_value=yes"); to grad all of the featured posts.
  
  ## 常見問題集
  
    Coming Soon
  Let me know what questions you have!
  
  ## 使用者評論
  
  這個外掛目前沒有任何使用者評論。
  
  ## 參與者及開發者
  
  以下人員參與了開源軟體〈Featured Posts and Custom Posts〉的開發相關工作。
  參與者
   *   [ Jeremy Selph ](https://profiles.wordpress.org/jeremyselph/)
  [將〈Featured Posts and Custom Posts〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/featured-posts-and-custom-posts)
  
  ### 對開發相關資訊感興趣？
  
  任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/featured-posts-and-custom-posts/)、
  查看 [SVN 存放庫](https://plugins.svn.wordpress.org/featured-posts-and-custom-posts/)，
  或透過 [RSS](https://plugins.trac.wordpress.org/log/featured-posts-and-custom-posts/?limit=100&mode=stop_on_copy&format=rss)
  訂閱[開發記錄](https://plugins.trac.wordpress.org/log/featured-posts-and-custom-posts/)。
  
  ## 中繼資料
  
   *  版本 **2.0**
   *  最後更新 **11 年前**
   *  啟用安裝數 **100+**
   *  WordPress 版本需求 ** 3.1.1 或更新版本 **
   *  已測試相容的 WordPress 版本 **4.1.42**
   *  語言
   * [English (US)](https://wordpress.org/plugins/featured-posts-and-custom-posts/)
   * 標籤:
   * [custom post types](https://tw.wordpress.org/plugins/tags/custom-post-types/)
     [custom posts](https://tw.wordpress.org/plugins/tags/custom-posts/)[featured](https://tw.wordpress.org/plugins/tags/featured/)
     [posts](https://tw.wordpress.org/plugins/tags/posts/)
   *  [進階檢視](https://tw.wordpress.org/plugins/featured-posts-and-custom-posts/advanced/)
  
  ## 評分
  
   4 星，滿分為 5 星
   *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=5)
   *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=4)
   *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=3)
   *  [  1 個 2 星使用者評論     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=2)
   *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=1)
  [Your review](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/#new-post)
  [查看全部使用者評論](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/)
  
  ## 參與者
  
   *   [ Jeremy Selph ](https://profiles.wordpress.org/jeremyselph/)
  
  ## 技術支援
  
  使用者可在技術支援論壇提出意見反應或使用問題。
   [檢視技術支援論壇](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/)
  
  ## 贊助
  
  想要支援這個外掛的發展嗎？
   [ 贊助這個外掛 ](http://www.reactivedevelopment.net/snippets/featured-posts-custom-posts)