Title: Super Recent Posts Widget
Author: Mat Gargano
Published: <strong>23 ມັງກອນ 2014</strong>
Last modified: 21 ມັງກອນ 2020

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/super-recent-posts-widget/assets/banner-772x250.jpg?rev=1794440)

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://ps.w.org/super-recent-posts-widget/assets/icon-128x128.jpg?rev=1794440)

# Super Recent Posts Widget

 ໂດຍ [Mat Gargano](https://profiles.wordpress.org/matstars/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/super-recent-posts-widget.0.3.0.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/super-recent-posts-widget/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/super-recent-posts-widget/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/super-recent-posts-widget/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/super-recent-posts-widget/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/super-recent-posts-widget/)

## ຄຳອະທິບາຍ

Drag and drop the widget and fill out the appropriate fields. Some notes:

To display posts from a specific post type leave Taxonomy as “– No Specific Taxonomy–“

If you leave order by and/or order as “– Choose order parameter –” and/or “– Choose
orderby parameter –” it will go with WordPress’ default(s), [see here](https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters)
for more information.

The following filters are available:

 * **srpw_get_args** to override arguments of main query for the widget.
 * **srpw_template** to override the output template for the widget, see below for
   more information.
 * **srpw_WIDGET_NAME_template** to override the output template for the widget 
   on a widget by widget basis, the WIDGET_NAME appears on the back-end in the widgets
   window see below for more information.
 * **widget_title** this is a WordPress core filter [see here](https://codex.wordpress.org/Plugin_API/Filter_Reference)
   for more information.
 * **srpw_post_types** to override the post types available for this widget.
 * **srpw_taxonomies** to override the taxonomies available for this widget.

#### Usage of srpw_template filter

Add a “views” directory and file named “custom-srpw.php” to your template directory.
The “custom-srpw.php” file will be your custom template for this example.

#### Example of using a custom template from within your theme pre-PHP 5.3

    ```
        <?php

            function customize_srpw_template_filter( $template ){
                $template_dir = get_template_directory();
                return $template_dir . '/views/custom-srpw.php';
            }
            add_filter( 'srpw_template', 'customize_srpw_template_filter' );
            ?>
    ```

#### Example of using a custom template from within your theme PHP 5.3+ which allows anonymous functions

    ```
        <?php

            add_filter( 'srpw_template', function ( $template ){
                $template_dir = get_template_directory();
                return $template_dir . '/views/custom-srpw.php';
            } );
            ?>
    ```

#### Grunt

This plugin takes advantage of Grunt for validating JavaScript, SASS compilation
and minification. To take advantage of Grunt you have to have both [npm](https://npmjs.org/)
and [Grunt](http://gruntjs.com/) installed. Visit the respective sites for the applications
and make sure they are installed. Once installed, if you want to edit/fork this 
plugin, it will be helpful to be familiar with these two tools.

## ພາບໜ້າຈໍ

 * [[
 * Screenshot of widget

## ການຕິດຕັ້ງ

 1. If installing manually, unzip and copy the resulting directory to your plugin directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Add the widget to any widgetized area/sidebar and configure as desired.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

  This isn’t working!

Are you using WordPress 3.6+?

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/9ad8028c0e84e4e321488590012ffcca9662da86a0b25eeb4bbe86f9ec1f63e7?
s=60&d=retro&r=g)

### 󠀁[Works well…](https://wordpress.org/support/topic/works-well-1391/)󠁿

 [crzyhrse](https://profiles.wordpress.org/crzyhrse/) 24 ມິຖຸນາ 2018

Does exactly what I was looking for simply and well, in this case 3 different “recent
post” areas in the sidebar, showing 3 different categories of recent posts… One 
thing I wish for, especially where there are multiple instances of the widget such
as this, is that the entered title for the widget replace the name of the widget,
as is the case with most widgets, rather than simply be appended after it… So that
the widget instances are easily and quickly differentiated… As it is the Widget’s
name is long and fills the space… And most of all thanks for your work and for keeping
it current… Kind regards…

 [ ອ່ານການຣີວິວທັງໝົດ 2 ລາຍການ ](https://wordpress.org/support/plugin/super-recent-posts-widget/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Super Recent Posts Widget” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີ
ສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Mat Gargano ](https://profiles.wordpress.org/matstars/)
 *   [ statenweb ](https://profiles.wordpress.org/statenweb/)

[ແປ “Super Recent Posts Widget” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/super-recent-posts-widget)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/super-recent-posts-widget/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/super-recent-posts-widget/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/super-recent-posts-widget/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/super-recent-posts-widget/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 0.3.0

 * Fix for create_function deprecation
 * Remove warnings on widget save

#### 0.2.7

 * Fixed bug that caused caching issues if you used `srpw_get_args`

#### 0.2.6

 * Validate it works with WordPress 4.9.1

#### 0.2.4

 * Validate it works with WordPress 4.8.1

#### 0.2.4

 * Code cleanup, bugfixes

#### 0.2.3

 * Bugfixes

#### 0.2.2

 * cleaned up javascript
 * added widget by widget templating

#### 0.1.4

 * Updated transient logic to be more efficient
 * Minor helper/guide text updated

#### 0.1.3

 * Readme edits

#### 0.1.1

 * Initial release

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.3.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **6 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **50+**
 *  ເວີຊັນ WordPress ** 3.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **5.3.21**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/super-recent-posts-widget/)
 * ແທັກ
 * [post](https://lo.wordpress.org/plugins/tags/post/)[widget](https://lo.wordpress.org/plugins/tags/widget/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/super-recent-posts-widget/advanced/)

## ການໃຫ້ຄະແນນ

 5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 2 ລາຍການ     ](https://wordpress.org/support/plugin/super-recent-posts-widget/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/super-recent-posts-widget/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/super-recent-posts-widget/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/super-recent-posts-widget/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/super-recent-posts-widget/reviews/?filter=1)

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

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/super-recent-posts-widget/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Mat Gargano ](https://profiles.wordpress.org/matstars/)
 *   [ statenweb ](https://profiles.wordpress.org/statenweb/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/super-recent-posts-widget/)