Add method for thread posts with variable type