How to set taxonomy in custom plugin?

You might need to resave your permalinks. Just press the Save button on the permalink settings: /wp-admin/options-permalink.php Otherwise, your code works after cleaning up just a couple of typos: function post_type_questionnaire() { $labels = array( ‘name’ => _x(‘Questionnaire’, ‘post type general name’), ‘singular_name’ => _x(‘Questionnaire’, ‘post type singular name’), ‘add_new’ => _x(‘Add New Question’, ‘questionnaire’), … Read more

How to make custom post taxonomy looks like regular categories?

Within your functions.php: function custom_admin_scripts( $hook ) { if ( $hook == ‘post.php’ && get_post_type() == ‘your_custom_post_type_key’ ) { wp_enqueue_style( ‘your_custom_post_type_key’, get_stylesheet_directory_uri() . ‘/my_css_file.css’, array(), false, ‘all’ ); } } add_action( ‘admin_enqueue_scripts’, ‘custom_admin_scripts’ ); Change your_custom_post_type_key to your custom post type key Change /my_css_file.css to your real path towards your css file. Within your css … Read more