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
add_filter( 'submit_job_form_login_url', 'jobhunt_submit_job_form_login_url' ); | |
add_filter( 'job_manager_job_dashboard_login_url', 'jobhunt_submit_job_form_login_url' ); | |
add_filter( 'submit_resume_form_login_url', 'jobhunt_submit_job_form_login_url' ); | |
add_filter( 'resume_manager_candidate_dashboard_login_url', 'jobhunt_submit_job_form_login_url' ); | |
add_filter( 'job_manager_alerts_login_url', 'jobhunt_submit_job_form_login_url' ); | |
add_filter( 'job_manager_bookmark_form_login_url', 'jobhunt_submit_job_form_login_url' ); | |
add_filter( 'job_manager_past_applications_login_url', 'jobhunt_submit_job_form_login_url' ); |
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
add_filter( 'jetpack_gutenberg', '__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( 'front_child_woocommerce_register_form_role_dropdown' ) ) { | |
function front_child_woocommerce_register_form_role_dropdown() { | |
if( apply_filters( 'front_register_user_role_enabled', true ) && front_is_wp_job_manager_activated() ) { | |
?> | |
<div class="form-group"> | |
<label class="form-label" for="reg_front_user_role"><?php _e( 'I want to register as', 'jobhunt' ); ?></label> | |
<select name="front_user_role" id="reg_front_user_role" class="input chosen-select"> | |
<option value="candidate"<?php if( isset( $_POST['front_user_role'] ) && $_POST['front_user_role'] === 'candidate' ) echo esc_aatr( ' selected' ) ?>><?php echo esc_html__( 'Candidate', 'jobhunt' ); ?></option> | |
<option value="employer"<?php if( isset( $_POST['front_user_role'] ) && $_POST['front_user_role'] === 'employer' ) echo esc_aatr( ' selected' ) ?>><?php echo esc_html__( 'Employer', 'jobhunt' ); ?></option> | |
</sel |
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_woocommerce_register_form_role_dropdown' ) ) { | |
function jh_child_woocommerce_register_form_role_dropdown() { | |
if( apply_filters( 'jobhunt_register_user_role_enabled', true ) && jobhunt_is_wp_job_manager_activated() ) { | |
?> | |
<p class="form-row form-row-wide"> | |
<label for="reg_jh_child_user_role"><?php _e( 'I want to register as', 'jobhunt' ); ?></label> | |
<select name="jh_child_user_role" id="reg_jh_child_user_role" class="input chosen-select"> | |
<option value="candidate"<?php if( $_POST['jh_child_user_role'] === 'candidate' ) echo esc_aatr( ' selected' ) ?>><?php echo esc_html__( 'Candidate', 'jobhunt' ); ?></option> | |
<option value="employer"<?php if( $_POST['jh_child_user_role'] === 'employer' ) echo esc_aatr( ' selected' ) ?>><?php echo esc_html__( 'Employer', 'jobhunt' ); ?></option> | |
</select> |
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
a, | |
form.comment-form .logged-in-as a, | |
.comment-respond .comment-reply-title a:hover, | |
.vodi-related-articles .header-aside a:hover, | |
.home-section__flex-header ul.nav li a.active, | |
.home-section__flex-header ul.nav li a:hover, | |
.section-featured-tv-show .featured-tv-show__content .nav-link:hover, | |
.section-featured-tv-show .featured-tv-show__content .nav-link.active, | |
.home-section .home-section__nav-header .nav-link:hover, | |
.home-section .home-section__nav-header .nav-link.active, |
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
add_filter( 'jobhunt_wc_new_user_notification', '__return_true' ); |
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_child_custom_submit_job_form_package_id_field' ) ) { | |
function jobhunt_child_custom_submit_job_form_package_id_field () { | |
$job_id = ! empty( $_REQUEST['job_id'] ) ? absint( $_REQUEST['job_id'] ) : 0; | |
if( ! empty( $job_id ) && $job_id > 0 && ! empty( get_post_meta( $job_id, '_package_id', true ) ) ) { | |
$package_id = get_post_meta( $job_id, '_package_id', true ); | |
} else { | |
$package_id = WP_Job_Manager_WCPL_Submit_Job_Form::get_package_id(); | |
} | |
?><input type="hidden" name="_package_id" value="<?php echo esc_attr( $package_id ); ?>" /><?php | |
} |
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
add_filter( 'jobhunt_register_user_password_enabled', '__return_true' ); |
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
add_filter('the_job_description', 'do_shortcode'); |
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
<!-- place this snipet in HTMLhead.html, replace yourdomain with the url of your login page --> | |
<script> | |
$(document).ready(function(){ | |
if( | |
($('#LoginOrLogoutText > div > a:contains("Sign in")').length > 0) && (window.location.href.indexOf("login") === -1) | |
){ | |
window.location.assign("//www.yourdomain.com/login.php"); | |
} | |
}); | |
</script> |
NewerOlder