Issue on Adding Taxonomy to Custom Post Type Using Function

This is what I use to build new custom Taxonomy to my custom post types. And it works for me. function fun_book() { // Add new “Fun” taxonomy to Book Post Type register_taxonomy(‘fun’, ‘book’, array( // Hierarchical taxonomy (like categories) ‘hierarchical’ => true, // This array of options controls the labels displayed in the WordPress … Read more

Custom options for a Custom post type

The easiest solution will be using Advanced Custom Fields plugin, I guess. You can easily add custom write panels with it and limit them only for some posts based on post type, template file, etc. If you’d like to do implement it yourself, then you’ll have to add your custom meta box using add_meta_box function.