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

Featured Post Type

外掛說明

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〉的開發相關工作。

參與者

將〈Featured Post Type〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.