adds titles to posts