create a widget that displays related posts