Display Last Posts is a plugin that allows you to display the last post(s) (by default, the last one only) anywhere on your blog.
Official page and french translation :
http://www.fb-graphic.com/bonus/display-last-posts-wordpress-plugin
Two ways are available: using a shortcode in posts or pages, within the CMS, or putting a small PHP code in a template of your theme.
shortcode : [last-posts] or [last-posts nb="5" cont="excerpt"]
code PHP : < ?php lastPosts('',''); ?> or < ?php lastPosts(5,'excerpt'); ?> (suppress space between < and ?)
The shortcode is:
[last-posts]
By default, only the last post is displayed, with its whole content.
Optional arguments, ex.:
[last-posts nb="5" cont="excerpt"] - with [nb] you specify the quantity of posts you want to display (always newest first), and with [cont="excerpt"] you specify that only the excerpt of the posts will be displayed.
The PHP code for templates is:
< ?php lastPosts('',''); ?>
By default, only the last post is displayed, with its whole content.
Optional arguments, ex.:
< ?php lastPosts(5,'extrait'); ?> - the first argument specify the number of posts to display (always newest first), and the second one specify that only the excerpt must be displayed.
Display Last Post(s) is widely inspired by the sc_liste() function given here:
http://www.webinventif.fr/wordpress-creation-de-shortcode-avance/
Realised under WordPress 2.9.2 - at least valid for this version.
Download and unzip "display-last-post.zip" - place the "display-last-post" folder in the wp-content/plugins folder. Then activate Display Last Post(s) form the Plugins panel.