Assign a custom post type a category
-
I am looking for some help automatically assigning a category to a custom post type.
The custom post type is : wpbb_job
The category has been set up as follows:
'job_industry' => array( 'taxonomy_name' => 'wpbb_job_industry', 'broadbean_field' => 'job_industry', 'plural' => 'Job Industries', 'singular' => 'Job Industry', 'slug' => 'job-industry', 'menu_label' => 'Industries', 'hierarchical' => true, 'show_admin_column' => true ),
I have a single category under the industry label called health-and-safety but have been unable to make it so it is automatically assigned to all new posts.
Any help would be great.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Assign a custom post type a category’ is closed to new replies.