I need help How can I create taxonomy to custom post type after theme activation? example case: I have custom post type 'book' and custom taxonomy 'genre' for my custom post type. This is easy way when add code to functions.php, but i need to auto create horor, comedy, fiction to 'genre' when theme activation (after_theme_setup)
Very interest with this topic Creating Wordpress Category at the time of Theme Activation