Retrieves a list of the most recent posts.
As of April 2026, Recent Posts is a WordPress list plugin with 400 active installations and a 0/5 rating0. It has been downloaded 59K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2005. Last updated 10 years ago — may have compatibility concerns. Top alternative: List category posts.
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
| WordPress | 2.8+ requiredTested up to 4.4.34 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.