這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Recent Posts

描述

Retrieves a list of the most recent posts.

Configuration

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. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php mdv_recent_posts(); ?> in your templates.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Recent Posts” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Recent Posts 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄