外掛說明
Simplicity at its finest!
This simple plugin adds a widget that allows for the display of recent posts in any custom post type. It functions almost identically to the built-in WordPress “Recent Posts” widget with the added option of letting you choose which post type it pulls from. Just add the “Latest Custom Post Type” widget to a widget area, give it a title, how many posts to show and what post type you want it to pull from. It’s that easy!
Advanced Options
While this plugin allows for quick and easy use, there are also LOADS of advanced features that site owners, designers, and developers will all enjoy.
- Change how the posts are pulled (e.g. Publish date, modified date, meta keys)
- Change how they are displayed (e.g. Pull by modified date, but show in alphabetical order)
- Define custom text for when there are no posts to show (defaults to showing nothing)
- Define custom CSS classes
- Show post thumbnails with the option of a default thumbnail image and custom size
- Show the post date/time or post modified date/time and specify the format
- Show post excerpts, specifying the length and read more link text
- Restrict posts by taxonomy and taxonomy terms
A word on support and additional features
If you find any bugs, please let me know! In an effort to help others looking for similar answers and to help build the WordPress.org community I ask that all bug reports, requests for support and feature requests be made through the WordPress.org forums.
螢幕擷圖
安裝方式
- Copy the entire “latest-custom-post-type-updates” folder into your wp-content/plugins folder.
- Activate the plugin.
- Add the widget to a widget area and select your options.
- Get the latest custom post type updates on any page!
常見問題集
- Can you add ‘some feature’ to the plugin?
-
Ask me in the WordPress.org forums and I will let you know. Note that not all requests will be added, but I will probably have a reason not to.
參與者及開發者
變更記錄
1.3.0
- NOW REQUIRES JavaScript and WordPress 3.3+
- Added excerpt, thumbnail, sorting, and multiple post type support
- Can now specify custom classes
- Several core improvements
1.2.1
- Added the ability to define custom text that displays only when there are no posts of the selected post type. Otherwise it displays nothing.
1.2
- Added ability to restrict displayed posts by taxonomy tags/categories.
- Allows for displaying posts that are in, not in, or in all of the selected taxonomy tags/categories.
1.1
- Added in missing closing UL tag
1.0
- Initial plugin release