Linux 软件免费装
Banner图

Smart Recent Posts Widget

开发者 idenovasi
satrya
更新时间 2023年8月5日 19:26
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 6.1
版权: GPLv3 or later
版权网址: 版权信息

标签

widget sidebar widgets recent posts popular posts taxonomy excerpt category post type thumbnails random posts post status recent posts widget multiple widgets post tag

下载

0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 1.0.0 0.0.1 1.0.1 1.0.2 1.0.3

详情介绍:

Due to WordPress 5.8 major update for Widgets, if you want to use this plugin, you must use WordPress 5.8.x Smart recent posts widget provides flexible and highly customizable recent posts widget. Allows you to display a list of the most recent posts with thumbnail, excerpt, date, author, comment count also you can display it from all or specific or multiple categories or tags, post types and much more! Install, Activate, Done! Using the widget is super easy with clear inline information. It provides a lot of options to fit your needs, need more option? Please ask on Support forum. Features Include Support this project

安装:

Through Dashboard
  1. Log in to your WordPress admin panel and go to Plugins -> Add New
  2. Type smart recent posts widget in the search box and click on search button.
  3. Find Smart Recent Posts Widget plugin.
  4. Then click on Install Now after that activate the plugin.
  5. Go to the widgets page Appearance -> Widgets.
  6. Find Smart Recent Posts widget.
Installing Via FTP
  1. Download the plugin to your hardisk.
  2. Unzip.
  3. Upload the smart-recent-posts-widget folder into your plugins directory.
  4. Log in to your WordPress admin panel and click the Plugins menu.
  5. Then activate the plugin.
  6. Go to the widgets page Appearance -> Widgets.
  7. Find Smart Recent Posts widget.

屏幕截图:

  • Classic style
  • Default style
  • Widget settings

常见问题:

How to filter the post query?

You can use srpw_default_query_arguments to filter it. Example: add_filter( 'srpw_default_query_arguments', 'your_custom_function' ); function your_custom_function( $args ) { $args['posts_per_page'] = 10; // Changing the number of posts to show. return $args; }

How to filter the post excerpt?

Post excerpt now comes with filter to easily dev to change/customize it. apply_filters( 'srpw_excerpt', get_the_excerpt() )

Ordering not working!

Did you installed any Post or Post Type Order? Please try to deactivate it and try again the ordering.

No image options

Your theme needs to support Post Thumbnail, please go to http://codex.wordpress.org/Post_Thumbnails to read more info and how to activate it in your theme.

Available filters

Default arguments srpw_default_args Post excerpt srpw_excerpt Post markup srpw_markup Post query arguments srpw_default_query_arguments

更新日志:

Due to WordPress 5.8 major update for Widgets, if you want to (continue) use this plugin, you must use WordPress 5.8.x 1.0.2