Show Recent Posts by Category

A recent commission to design a website for Helford River Sailing Club required recent posts from three separate categories to be shown on the site’s front page with thumbnails and excerpts under their individual category names. ¬†Eventually Google yielded the component parts of the following piece of code: