adding relatedPoststemplate