Added convenience function to retrieve the post based on a term