Echo current custom post type May 15, 2022 by Tarik Billa If you are within The Loop, try: $post_type = get_post_type( $post->ID ); echo $post_type; Does this work for you?