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
@media (max-width: 640px) and (min-width: 0) { | |
.page-hero { height: 750px !important; } | |
.page-hero .inner .search-form { opacity: 1; display: block; } | |
.page-hero .inner .search-form .inner { width: 100%; } | |
} |
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
<?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 | |
#-------------------------------------------------------------------------------# | |
# WP Job Manager - Description Field Template | |
#-------------------------------------------------------------------------------# | |
add_filter( 'capstone_job_desc_template', 'capstone_job_desc_field_template' ); | |
function capstone_job_desc_field_template() { | |
$output = '<h3>Description</h3>'; |
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 | |
#-------------------------------------------------------------------------------# | |
# WP Resume Manager - Description Field Template | |
#-------------------------------------------------------------------------------# | |
add_filter( 'capstone_resume_desc_template', 'capstone_resume_desc_field_template' ); | |
function capstone_resume_desc_field_template() { | |
$output = '<p>Introduce yourself. What are your goals, what are your objectives?</p>'; |
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
/*--------------------------------------------------------- | |
Styled Form (replacer "#wppb-register-user-client" with your form ID) | |
-------------------------------------------------------- */ | |
form#wppb-register-user-client input:not([type="submit"]), | |
form#wppb-register-user-client select, | |
form#wppb-register-user-client textarea { | |
height: 72px; | |
padding: 3.2rem 2rem 1rem 2rem !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
#-----------------------------------------------------------------# | |
# Remove "Experience" Field | |
#-----------------------------------------------------------------# | |
function remove_default_experience_field() { | |
remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_experience_field', 10 ); | |
remove_filters_with_method_name( 'job_manager_job_listing_data_fields', 'admin_job_experience_field', 10 ); | |
} | |
add_action( 'init', 'remove_default_experience_field' ); | |
#-----------------------------------------------------------------# |