Add related post functionality.