WordPress - get post type name #wordpress
<?php $post_type = get_post_type_object( get_post_type($post) ); echo $post_type->labels->name; ?>