Add post metadata functionality