Added helper method to act dynamically with post title generated from database