Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Featured Post Type

Disgrifiad

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

Gosod

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/

Cwestiynau Cyffredin

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

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“Featured Post Type” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “Featured Post Type” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

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.