=== Display Last Post(s) === Contributors: Francois Barret Tags: last,post,posts,page,shortcode,include, article,article,dernier,derniers, Requires at least: 1.5 Tested up to: 2.9 Stable tag: trunk Donate Link: http://www.fb-graphic.com/dons/ Allows to display the last post(s) anywhere on your WordPress site/blog, using a shortcode or a short PHP code (for the templates). == Description == **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/ == Installation == 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. == CSS styling == The code produced is included in a