How do you add categories to custom post types in WordPress? April 9, 2022 by Tarik Billa You need to add 'taxonomies' => array('category') in your register_post_type() function.