Today I wanted to create a page on my website to display the 20 most recent posts.  If this was the home page of the website, it would be no problem since WordPress does that by default.  But this new page was an interior page.

The fix was simple.  I used query_posts to grab all published posts like so:



....

Pretty nifty!

What are some other ways to do this?