Apraksts
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
Uzstādīšana
This section describes how to install the plugin and get it working.
- Upload
featured-post-type.zip
to the/wp-content/plugins/
directory and extract - Activate through the ‘Plugins’ menu.
- Place the Featured Post Type widget appropriately in the Appearance | Widgets section of the dashboard.
- 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 –
- Go to ‘Plugins’ menu under your Dashboard
- Click on the ‘Add New’ link
- Search for featured-post-type
- Install.
- Activate through the ‘Plugins’ menu.
- Place the Featured Post Type widget appropriately in the Appearance | Widgets section of the dashboard.
- 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/
BUJ
- 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 classpost-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
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Featured Post Type” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Featured Post Type” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
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.