This plugin creates a new widget which lets you show a list of recent posts based on categories or tags. This is a must have plugin if you want to exclude some categories in recent posts widget or if you want to show recent posts based on tags. By default the wordpress recent posts widget shows a posts from all category. But this plugin gives you more power to customize your recent posts widget. You can also display post date in the widget.
See the live action of this plugin on demo site or on Kennneth John Odle’s blog.
Have any questions or suggestions? Create a thread in the support forum.
Visit this page for more WordPress Plugins from the developer.
A special thanks to Ken and Josh for testing the code.
Download
Latest version: Download Custom Recent Posts Widget v2.1.1 [zip]
Installation
-
Extract the contents of the .zip archive
-
Upload the
custom-recent-posts-widget
folder to yourwp-content/plugins
directory. -
Activate the plugin through the ‘Plugins’ menu in WordPress.
-
Go to Appearance –> Widgets to add the widget to any widgetized areas.
FAQ
Q. Installation Instructions
A.
- Extract the contents of the .zip archive
-
Upload the
custom-recent-posts-widget
folder to yourwp-content/plugins
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Appearance –> Widgets to add the widget to any widgetized areas.
Q. How to style the widget?
A. The widgets inherit the style of default WordPress Recent Posts widget. You can use .crpw-item
and .crpw-tag-item
CSS class to style Custom Recent Posts Widget and Custom Recent Posts by Tags Widget respectively.
Example
.crpw-item {
font-weight: bold;
font-size: 14px;
list-style: disc inside;
}
Screenshots
Custom Recent Posts by Tags Widget
Custom Recent Posts widget with date in 2012 theme
Custom Recent Posts by Tags Widget configuration
Custom Recent Post Widget in Kennneth John Odle’s blog
Custom Recent Post Widget when added to sidebar on widget menu. Here the number of posts to show is set to 6 and only the ‘WordPress’ category is selected
Custom Recent Post Widget showing a list of 6 recent posts from the category ‘WordPress’
Custom Recent Posts Widget
Changelog
2.1.1
- Changed classname back to
widget_recent_entries
. No more confusions. All themes should be happy now. Thanks Adam Parnala for bringing my attention to this issue.
2.1
- Added option to show post date. Code taken from Recent Posts widget in WordPress 3.5
- Changed classname
2.0
- Added Custom Recent Posts by Tags Widget. You can show recent posts based on tags.
- Removed style sheet and changed classname to
widget_recent_entries
. So, widget will inherit the style of default WordPress Recent Posts widget.
1.1
- Changed class names
- Updated style sheet
- Using
crpw_register_widgets
function to register the widget - Added another screen shot
1.0
- Initial public release
6 comments
Skip to comment form ↓
koninckx
December 19, 2012 at 5:08 pm (UTC 5.5) Link to this comment
unclear how I can insert last blogs on the sidebar
Thanks
Prasanna SP
December 26, 2012 at 10:41 am (UTC 5.5) Link to this comment
Drag and Drop the Custom Recent Posts widget to your sidebar. Make sure your theme supports widget
Leena Dasot
December 27, 2012 at 3:30 pm (UTC 5.5) Link to this comment
you have done nice piece of work to make good article, your screenshots are very helpful to me, it is in reality helpful information, thanks that you shared with hard working, thanks again…keep it up..
Mike
December 29, 2012 at 12:06 am (UTC 5.5) Link to this comment
I tried changing css on my blog but it doesn’t work..
Prasanna SP
December 29, 2012 at 11:49 am (UTC 5.5) Link to this comment
Hi Mike! Try adding
!important
for your style declaration. Like this,Madiha
March 23, 2014 at 4:00 pm (UTC 5.5) Link to this comment
this one is simple yet incredible plugin.. thanks for sharing it with the community