This file contains 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
<?php | |
#-------------------------------------------------------------------------------# | |
# Append 'Register Page' Link to Login Form | |
#-------------------------------------------------------------------------------# | |
function capstone_child_login_page_filter( $content ){ | |
$register_instead = ''; | |
$recovery_instead = ''; | |
$registration_page_defined = get_theme_mod('capstone_auth_register_page'); | |
$password_recovery_page_defined = get_theme_mod('capstone_auth_password_recovery_page'); |
This file contains 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
<?php | |
#-----------------------------------------------------------------# | |
# Append Job ID Meta Value | |
#-----------------------------------------------------------------# | |
function job_id_meta() { | |
echo '<li class="meta-field job-id-meta">'; | |
echo '<img class="icon svg-icon" src="'. esc_url( get_template_directory_uri() .'/images/salary-icon.svg') .'" alt="'. esc_html__('Job ID', 'capstone') .'">'; | |
echo '<label class="title">'. esc_html__('Job ID', 'capstone') .':</label>'; |
This file contains 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
#-----------------------------------------------------------------# | |
# Remove "Career Level" Field | |
#-----------------------------------------------------------------# | |
function remove_default_career_level_field() { | |
remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_career_level_field', 10 ); | |
remove_filters_with_method_name( 'job_manager_job_listing_data_fields', 'admin_job_career_level_field', 10 ); | |
} | |
add_action( 'init', 'remove_default_career_level_field' ); | |
#-----------------------------------------------------------------# |
This file contains 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
/*----------------------------------------------------------------------------------- | |
Make Header Transparent in Homepage | |
-----------------------------------------------------------------------------------*/ | |
body.home #site-header #site-menu { background: transparent !important; border-bottom: 0; box-shadow: none; } | |
body.home #site-header.headroom--not-top { background: #FFF; } | |
body.home .page-hero { margin-top: -93px; padding-top: 93px !important; } |
This file contains 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
/*----------------------------------------------------------------------------------- | |
Hide Page Title | |
-----------------------------------------------------------------------------------*/ | |
/** Change "33" with the page ID */ | |
body.page-id-33 .page-header { display: none; } | |
body.page-id-33 #inner-body { padding-top: 0 !important; } |
This file contains 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
<?php | |
#-----------------------------------------------------------------# | |
# Disable Emails Sending When Job Listing Approved | |
#-----------------------------------------------------------------# | |
function disable_mail_job_approved() { | |
remove_filters_with_method_name( 'pending_to_publish', 'listing_published_send_email' ); | |
remove_filters_with_method_name( 'pending_payment_to_publish', 'listing_published_send_email' ); | |
} | |
add_action( 'init', 'disable_mail_job_approved' ); | |
This file contains 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
<?php | |
#-----------------------------------------------------------------# | |
# Remove "Salary" Field | |
#-----------------------------------------------------------------# | |
function remove_default_salary_field() { | |
remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_salary_field', 10 ); | |
remove_filters_with_method_name( 'job_manager_job_listing_data_fields', 'admin_job_salary_field', 10 ); | |
} |
This file contains 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
#-------------------------------------------------------------------------------# | |
# Capstone - Modify "Salary" Options | |
#-------------------------------------------------------------------------------# | |
// Remove Existing "Salary" Options | |
function remove_default_salary_output() { | |
remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_salary_field' ); | |
} | |
add_action( 'init', 'remove_default_salary_output' ); |
This file contains 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
#-------------------------------------------------------------------------------# | |
# Capstone - Modify "Job Qualification" Options | |
#-------------------------------------------------------------------------------# | |
// Remove Existing "Qualification" Options | |
function remove_default_qualification_output() { | |
remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_qualification_field' ); | |
} | |
add_action( 'init', 'remove_default_qualification_output' ); |