I have created a custom taxonomy for use with WP Job Manager. The taxonomy shows up, however when I type in my tag and click the "add new job title" button nothing seems to happen. If I click refresh I can see that in fact the tag has been added.
I think my question is similar to this one and this one. However I can not be sure because I am not entirely sure.
This is the the code:
// Register Custom Taxonomy
function ikana_jobtitle() {
$labels = array(
'name' => _x( 'Job Titles', 'Taxonomy General Name', 'text_domain' ),
'singular_name' => _x( 'Job Title', 'Taxonomy Singular Name', 'text_domain' ),
'menu_name' => __( 'Job Titles', 'text_domain' ),
'all_items' => __( 'All Job titles', 'text_domain' ),
'parent_item' => __( 'Parent Job titles', 'text_domain' ),
'parent_item_colon' => __( 'Parent Job:', 'text_domain' ),
'new_item_name' => __( 'New Job Title', 'text_domain' ),
'add_new_item' => __( 'Add New Job Title', 'text_domain' ),
'edit_item' => __( 'Edit Job Title', 'text_domain' ),
'update_item' => __( 'Update Job Title', 'text_domain' ),
'view_item' => __( 'View Job Title', 'text_domain' ),
'separate_items_with_commas' => __( 'Separate titles with commas', 'text_domain' ),
'add_or_remove_items' => __( 'Add or remove titles', 'text_domain' ),
'choose_from_most_used' => __( 'Choose from the most used Job Titles', 'text_domain' ),
'popular_items' => __( 'Popular Job Titles', 'text_domain' ),
'search_items' => __( 'Search Job Titles', 'text_domain' ),
'not_found' => __( 'Not Found', 'text_domain' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'jobtitle', array( 'post', ' job_listing', ' resume' ), $args );
}
add_action( 'init', 'ikana_jobtitle', 0 );
}