Properly escape get_permalink() and the singular post type name.