Skip to content

Instantly share code, notes, and snippets.

@yousufansa
Created December 18, 2018 15:34
Show Gist options
  • Save yousufansa/ac427d50e7c54f82d471494d2ac409aa to your computer and use it in GitHub Desktop.
Save yousufansa/ac427d50e7c54f82d471494d2ac409aa to your computer and use it in GitHub Desktop.
Jobhunt - Display Job Categories In Single Job Overview
if( ! function_exists( 'jh_child_dispaly_category_single_job_overview_details' ) ) {
function jh_child_dispaly_category_single_job_overview_details( $args ) {
$args['job_category'] = array(
'icon' => 'la la-cubes',
'label' => esc_html__( 'Categories', 'jobhunt' ),
'taxonomy' => 'job_listing_category',
);
return $args;
}
}
add_filter( 'jobhunt_single_job_overview_details', 'jh_child_dispaly_category_single_job_overview_details' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment