Turn post names into variable