该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

最新访问文章

描述

Retrieves a list of the most recent posts.

配置

You may pass parameters when calling the function to configure some of the options.
Example: mdv_recent_posts(10, '', '<br />', true, 5, false, false)

The parameters:
$no_posts – sets the number of recent posts to display
$before – text to be displayed before the link to the recent post
$after – text to be displayed after the link to the recent post
$hide_pass_post – whether or not to display password protected posts
$skip_posts – allows skipping of a number of posts before showing the number of posts specified with the $no_posts parameter
$show_excerpts – allows the post excerpt to be output after the post title
$include_pages – allows recent pages to be show with recent posts

Version History

1.1.2 – Added a space before rel=”bookmark”
1.1.3 – Fix the space for real. Props Sandro Bonazzola
1.2 – Use the esc_* functions and cleanup coding standards

安装

  1. Upload recent-posts.php to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单激活插件
  3. Place <?php mdv_recent_posts(); ?> in your templates.

评价

此插件暂无评价。

贡献者及开发者

“最新访问文章” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“最新访问文章”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志