Set post name and title.