This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.chosen-container-multi .chosen-choices .search-field { | |
width: 100%; | |
} | |
.chosen-container-multi .chosen-choices .search-choice + .search-field { | |
width: 60px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'jobhunt_job_header_search_block' ) ) { | |
/** | |
* Display Job Header Search block | |
*/ | |
function jobhunt_job_header_search_block( $args = array() ) { | |
$defaults = apply_filters( 'jobhunt_job_header_search_block_args', array( | |
'section_title' => esc_html__( 'Explore Thousand Of Jobs With Just Simple Search...', 'jobhunt' ), | |
'sub_title' => '', | |
'search_placeholder_text' => esc_html__( 'Job title, keywords or company name', 'jobhunt' ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( ! function_exists( 'jh_child_single_job_overview_details' ) ) { | |
function jh_child_single_job_overview_details( $args ) { | |
$args['job_salary'] = array( /* field name without prefix _ (underscore) - you can find the field name by inspecting that field in add new job on WP Admin Panel */ | |
'icon' => 'la la-money', /* Replace "la la-money" with Your Icon Class. */ | |
'label' => esc_html__( 'Job Salary', 'jobhunt' ), /* Replace "Job Salary" with Your Field Title. */ | |
'callback' => 'jh_child_single_job_overview_job_salary', /* Add the field name with the prefix jh_child_single_job_overview */ | |
); | |
return $args; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( ! function_exists( 'jh_child_extra_register_fields' ) ) { | |
function jh_child_extra_register_fields() { | |
?> | |
<p> | |
<label for="jobhunt_register_first_name"><?php esc_html_e( 'First Name', 'jobhunt' ); ?> | |
<input name="jobhunt_first_name" id="jobhunt_register_first_name" class="required" type="text"/> | |
</label> | |
</p> | |
<p> | |
<label for="jobhunt_register_last_name"><?php esc_html_e( 'Last Name', 'jobhunt' ); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( class_exists( 'Tribe__Events__Pro__Main' ) ) { | |
remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Events__Pro__Main::instance(), 'register_related_events_view' ) ); | |
add_action( 'tribe_events_single_event_after_the_content', array( Tribe__Events__Pro__Main::instance(), 'register_related_events_view' ) ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.select2-selection.select2-selection--multiple { | |
background-color: #f9fafa; | |
border: 2px solid #d4d9dd; | |
min-height: 44px; | |
} | |
.select2-container--default.select2-container--focus .select2-selection--multiple { | |
border: 2px solid #8c9aa6; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'jh_child_header_post_a_job_button_for_employer' ) ) { | |
function jh_child_header_post_a_job_button_for_employer( $current_status ) { | |
$user = wp_get_current_user(); | |
if ( $current_status && is_user_logged_in() && ( in_array( 'employer', (array) $user->roles ) || in_array( 'administrator', (array) $user->roles ) ) ) { | |
return $current_status; | |
} else { | |
return false; | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'jh_child_template_job_listing_career_level' ) ) { | |
function jh_child_template_job_listing_career_level() { | |
global $post; | |
if( !empty( $career_level = jobhunt_get_wpjm_taxomony_data( $post, 'job_listing_career_level', false ) ) ) { | |
echo '<div class="job_listing-career_level"><label>' . esc_html__( 'Career Level:', 'jobhunt-child' ) . '</label>' . $career_level . '</div>'; | |
} | |
} | |
} | |
add_action( 'jobhunt_job_listing_title', 'jh_child_template_job_listing_career_level', 75 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'jh_child_template_job_listing_desc' ) ) { | |
function jh_child_template_job_listing_desc() { | |
echo '<div class="job_listing-description">'; | |
the_excerpt(); | |
echo '</div>'; | |
} | |
} | |
add_action( 'jobhunt_after_job_listing', 'jh_child_template_job_listing_desc', 105 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'ec_child_footer_bc_modify_tax_args' ) ) { | |
function ec_child_footer_bc_modify_tax_args( $args ) { | |
$args['slugs'] = 'dell, apple, microsoft, ibm, sony, samsung, hp'; //Replace slugs with your slugs in need order | |
if ( ! empty( $args['slugs'] ) ) { | |
$cat_slugs = is_array( $args['slugs'] ) ? $args['slugs'] : explode( ',', $args['slugs'] ); | |
$cat_slugs = array_map( 'trim', $cat_slugs ); | |
$args['slug'] = $cat_slugs; | |
$args['orderby'] = 'slug__in'; |