Customizing Location

Set the Bullhorn Field used for the Location Taxonomy using the Location Taxonomy Term setting in the Job tab

Location Taxonomy Term setting

You can change if you want to use the City, State as a combo this can be done this filter

add_filter('matador_import_location_taxonomy_field', function() { return 'job_general_location';});

You can create separate taxonomies for location data by adding additional taxonomies for them and Matador will auto-fill them when importing jobs



add_filter('matador_job_taxonomies', function($taxonomies) { 

// with no options
$taxonomies['country'] = array();  // add to the array to set the labale etc.

// with options
$taxonomies['city'] = array(
   'single' => _x( 'city', 'Job Category Singular Name.', 'matador-jobs' ),
   'plural' => _x( 'cities', 'Job Category Plural Name.', 'matador-jobs' ),
	'args'   => array(
			'public'             => true,
			'show_ui'            => true,
			'show_in_menu'       => true,
			'show_in_nav_menus'  => true,
			'show_tagcloud'      => true,
			'show_in_quick_edit' => true,
			'show_admin_column'  => true,
			'hierarchical'       => false,
		),);

return $taxonomies;});

Updated on August 17, 2021

Was this article helpful?

Related Articles