Linux 软件免费装
Banner图

Recent Posts Easy

开发者 afazza
eraplugins
ramielhabashy
更新时间 2024年8月28日 02:58
PHP版本: 4.0 及以上
WordPress版本: 6.5.5
版权: GPLv2
版权网址: 版权信息

标签

shortcode recent posts thumbnails meta descriptions

下载

详情介绍:

The "Recent Posts Easy" plugin provides a simple shortcode for displaying recent posts with thumbnails and meta descriptions on your WordPress site. The shortcode accepts several attributes that allow you to customize the output, including the number of posts to display, the image size, the post type, the category, the sort order, and the maximum length of the meta description. To use the shortcode, simply add the following code to any page or post: [recent-posts] You can also customize the shortcode by adding attributes, like this: [recent-posts limit="10" image_size="medium" post_type="page" category="news" order="ASC" meta_limit="30"] To learn more about this plugin and its features, please visit our plugin page.

安装:

  1. Upload the "recent-posts-easy" folder to the "/wp-content/plugins/" directory.
  2. Activate the plugin through the "Plugins" menu in WordPress. == Usage ==
To use the shortcode, simply add the following code to any page or post: [recent-posts] This will display the 5 most recent posts with thumbnails and meta descriptions. You can also customize the shortcode by adding attributes. Here are the available attributes: [recent-posts limit="10" image_size="medium" post_type="page" category="news" order="ASC" meta_limit="30"]

常见问题:

How do I customize the output of the shortcode?

You can customize the output by adding attributes to the shortcode. See the "Usage" section for a list of available attributes.

Can I use this shortcode in a widget or a theme file?

Yes, you can use the do_shortcode() function to embed the shortcode in a widget or a theme file. For example, you could use the following code in a widget or a template file:

更新日志:

1.0 Initial release. == Upgrade Notice == 1.0 Initial release. No upgrade necessary. 1.1 Tested with 6.5.5