register_post_type not working in wordpress 3.6 August 21, 2022 by Tarik Billa I changed ‘capability_type’ to ‘post’ and it started working