Title: Custom Recent Posts Widget
Author: Prasanna SP
Published: <strong>10 Tháng 7, 2012</strong>
Last modified: 28 Tháng 12, 2012

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/custom-recent-posts-widget.svg)

# Custom Recent Posts Widget

 Bởi [Prasanna SP](https://profiles.wordpress.org/prasannasp/)

[Tải về](https://downloads.wordpress.org/plugin/custom-recent-posts-widget.2.1.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/custom-recent-posts-widget/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/custom-recent-posts-widget/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/custom-recent-posts-widget/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/custom-recent-posts-widget/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/custom-recent-posts-widget/)

## Mô tả

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](http://demo.prasannasp.net/custom-recent-posts-widget/)
or on Kennneth John Odle’s [blog](http://blog.kjodle.net/).

Have any questions or suggestions? Create a thread in the [support forum](http://forum.prasannasp.net/forum/plugin-support/custom-recent-posts-widget/).

Visit [this page](http://www.prasannasp.net/wordpress-plugins/) for more **WordPress
Plugins** from the developer.

A special thanks to [Ken](http://blog.kjodle.net/) and [Josh](http://www.joshlobe.com)
for testing the code.

## Ảnh màn hình

[⌊Custom Recent Posts Widget⌉⌊Custom Recent Posts Widget⌉[

Custom Recent Posts Widget

[⌊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 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 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 Post Widget showing a list of 6 recent posts from the 
category 'Wordpress'⌉[

Custom Recent Post Widget showing a list of 6 recent posts from the category ‘Wordpress’

[⌊Custom Recent Post Widget in Kennneth John Odle's blog⌉⌊Custom Recent Post Widget
in Kennneth John Odle's blog⌉[

Custom Recent Post Widget in Kennneth John Odle’s blog

[⌊Custom Recent Posts by Tags Widget⌉⌊Custom Recent Posts by Tags Widget⌉[

Custom Recent Posts by Tags Widget

[⌊Custom Recent Posts by Tags Widget configuration⌉⌊Custom Recent Posts by Tags 
Widget configuration⌉[

Custom Recent Posts by Tags Widget configuration

[⌊Custom Recent Posts widget with date in 2012 theme⌉⌊Custom Recent Posts widget
with date in 2012 theme⌉[

Custom Recent Posts widget with date in 2012 theme

## Cài đặt

 1. Extract the contents of the .zip archive
 2. Upload the `custom-recent-posts-widget` folder to your `wp-content/plugins` directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Go to Appearance –> Widgets to add the widget to any widgetized areas.

## Hỏi đáp

  Installation Instructions

 1. Extract the contents of the .zip archive
 2. Upload the `custom-recent-posts-widget` folder to your `wp-content/plugins` directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Go to Appearance –> Widgets to add the widget to any widgetized areas.

  How to style the widget?

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;
    }
    ```

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Custom Recent Posts Widget” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

 *   [ Prasanna SP ](https://profiles.wordpress.org/prasannasp/)

[Dịch “Custom Recent Posts Widget” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/custom-recent-posts-widget)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/custom-recent-posts-widget/),
check out [SVN repository](https://plugins.svn.wordpress.org/custom-recent-posts-widget/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/custom-recent-posts-widget/)
qua [RSS](https://plugins.trac.wordpress.org/log/custom-recent-posts-widget/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

Note: If it doesn’t show recent posts after updating the plugin, go to widgets and
just hit Save button in the Recent Posts widget configuration

#### 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

## Meta

 *  Phiên bản **2.1.1**
 *  Cập nhật lần cuối **9 năm trước**
 *  Số lượt cài đặt **1.000+**
 *  Phiên bản WordPress ** 3.1 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.5.2**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/custom-recent-posts-widget/)
 * Thẻ
 * [categories](https://vi.wordpress.org/plugins/tags/categories/)[category](https://vi.wordpress.org/plugins/tags/category/)
   [recent posts](https://vi.wordpress.org/plugins/tags/recent-posts/)[tag](https://vi.wordpress.org/plugins/tags/tag/)
   [tags](https://vi.wordpress.org/plugins/tags/tags/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/custom-recent-posts-widget/advanced/)

## Đánh giá

 4.9 trên 5 sao.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/custom-recent-posts-widget/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/custom-recent-posts-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/custom-recent-posts-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/custom-recent-posts-widget/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/custom-recent-posts-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-recent-posts-widget/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/custom-recent-posts-widget/reviews/)

## Những người đóng góp

 *   [ Prasanna SP ](https://profiles.wordpress.org/prasannasp/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/custom-recent-posts-widget/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://www.prasannasp.net/donate/)