Show “Latest” blog entry on page

Ever wanted to put your latest blog post or maybe even latest 3) on your WordPress home page or maybe another “content” page in your site?  Well here’s a quick snippet of code which allows just that!

You can set how many “latest” blog posts you want (to change the amount just change the number in the entry get_posts(#)) and if you don’t want the full blog content, simply change the_content() to the_excerpt() for the short version;