Fixed method to check for title in post/page data