Change Type text to type of Post