This detailed tutorial will show you how to create a Wordpress plugin that retrieves related posts and appends them to a page.
Read tutorial