adding custom post type “name” to single template
If you’re within the loop then the_title() should return the post type’s title. post_type_archive_title is specifically for archives. To get the human readable name of the post type, though, I’ve not seen anything better than this from the Codex: $obj = get_post_type_object( ’30-day-boot-camp’ ); echo $obj->labels->singular_name;