Title: Featured Post Type
Author: Ranjith Siji
Published: <strong>2010 年 6 月 21 日</strong>
Last modified: 2010 年 6 月 21 日

---

搜索插件

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

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

# Featured Post Type

 作者：[Ranjith Siji](https://profiles.wordpress.org/ranjithsiji/)

[下载](https://downloads.wordpress.org/plugin/featured-post-type-widget.zip)

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

 [支持](https://wordpress.org/support/plugin/featured-post-type-widget/)

## 描述

This plugin create a widget which will display a configured post type (From Custom
Post Type – WordPress 3.0) with its featured image. You will also get a drop down
list of post titles posted in that type. Select a post type and click go. Using 
Ajax it will load the selected content.

You can use this plugin to display a post types with image . This plugin uses Jquery
for ajax. It is working with wordpress 3.0 only. Because custom post type is introduced
in wordpress 3.0

I taken codes from

BNS Featured Category Plugin

Ajax Categories Posts Dropdown
 * Copyright 2009-2010 Ranjith Siji (email : ranjith.
sajeev@gmail.com)

This program is free software; you can redistribute it and/or modify
 it under the
terms of the GNU General Public License version 2, as published by the Free Software
Foundation.

You may NOT assume that you can use any other version of the GPL.

This program is distributed in the hope that it will be useful,
 but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
 along with this
program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
Floor, Boston, MA 02110-1301 USA

The license for this software can also likely be found here:
 http://www.gnu.org/
licenses/gpl-2.0.html

## 安装

This section describes how to install the plugin and get it working.

 1. Upload `featured-post-type.zip` to the `/wp-content/plugins/` directory and extract
 2. Activate through the ‘Plugins’ menu.
 3. Place the Featured Post Type widget appropriately in the Appearance | Widgets section
    of the dashboard.
 4. Set options to personal preferences:

* Widget Title
 * Post Type * Categories – separated by commas * Show (first) Category
Description (checkbox) * Show Author and date/time details of post (checkbox) * 
Show all categories attached to post (checkbox) * Show all tags attached to post(
checkbox) * Show post in full or use default of post excerpt (checkbox)

— or –

 1. Go to ‘Plugins’ menu under your Dashboard
 2. Click on the ‘Add New’ link
 3. Search for featured-post-type
 4. Install.
 5. Activate through the ‘Plugins’ menu.
 6. Place the Featured Post Type widget appropriately in the Appearance | Widgets section
    of the dashboard.
 7. Set options to personal preferences:

* Widget Title
 * Post Type * Categories – separated by commas * Show (first) Category
Description (checkbox) * Show Author and date/time details of post (checkbox) * 
Show all categories attached to post (checkbox) * Show all tags attached to post(
checkbox) * Show post in full or use default of post excerpt (checkbox)

Reading this article for further assistance: http://wpfirstaid.com/2009/12/plugin-
installation/

## 常见问题

  Can I use this in more than one widget area?

Yes, this plugin has been made for multi-widget compatibility. Each instance of 
the widget will display, if wanted, differently than every other instance of the
widget.

  How can I style the plugin output?

The plugin uses several “common” WordPress functions that create standard class 
and id elements that can be styled in the style.css file
 * the classes generated
by the post_class() function; and, the id generated by “post-” apended to the_ID()
function wrap the general post output * the plugin class `post-details` wraps the
general meta details of the post, such as the Author, Categories, Tags, etc. * the
overall plugin may also be wrapped in a widget “container” class, or id, specific
to the theme itself such as (but not limited to): widget, sidebar, left, right, 
etc.

With the addition of the display Category Description option an additional class
was written into the plugin. To style the category description displayed add the
class ‘fpt-cat-desc’ to your style.css file then use your choice of properties to
style the text, for example:

    ```
    .fpt-cat-desc {font-style: italic;}
    ```

  Can I increase the maximum posts to display?

As of version 1.0 the Total Posts to Display is independent of the “posts per page”
setting as set under Settings | Reading. But it is not fully implemented

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Ranjith Siji ](https://profiles.wordpress.org/ranjithsiji/)

[帮助将「Featured Post Type」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/featured-post-type-widget)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Initial Release.

#### 1.0.1

 * Bug Fix Release.
 * Fixed Bugs of Multi instance Jquery Function
 * Added Instance ID to handle multi Instance Ajax.
 * Loading Image Added for more Good Inerface.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/featured-post-type-widget/)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[featured](https://cn.wordpress.org/plugins/tags/featured/)
   [multi widget](https://cn.wordpress.org/plugins/tags/multi-widget/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [user-options](https://cn.wordpress.org/plugins/tags/user-options/)
 *  [高级视图](https://cn.wordpress.org/plugins/featured-post-type-widget/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/featured-post-type-widget/reviews/)

## 贡献者

 *   [ Ranjith Siji ](https://profiles.wordpress.org/ranjithsiji/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/featured-post-type-widget/)