Fixed Post Type to Title Function