Put relevant posts in an array