2015-11-24 WordPress:get_post_type():カスタム投稿などの名前を取得できそう。 関数リファレンス/get post type - WordPress Codex 日本語版