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
<?php | |
// Add your own function to filter the fields | |
add_filter( 'submit_resume_form_fields', 'capstone_submit_resume_form_fields' ); | |
// This is your function which takes the fields, modifies them, and returns them | |
function capstone_submit_resume_form_fields( $fields ) { | |
// Here we target one of the resume fields |
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
<?php | |
add_action( 'resume_listing_meta_end', 'capstone_add_resume_auto_excerpt', 99); | |
function capstone_add_resume_auto_excerpt() { | |
echo '<li class="auto-excerpt" data-full-width>'; | |
$resume_desc = apply_filters( 'the_resume_description', get_the_content() ); | |
echo '<label>'. esc_html__('Excerpt:', 'capstone') .'</label>'; | |
echo wp_kses_post(substr($resume_desc, 0, 200)) .'...'; | |
echo '</li>'; |
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
#-----------------------------------------------------------------# | |
# Remove "Qualification" Field | |
#-----------------------------------------------------------------# | |
function remove_default_qualification_field() { | |
remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_qualification_field', 10 ); | |
remove_filters_with_method_name( 'job_manager_job_listing_data_fields', 'admin_job_qualification_field', 10 ); | |
} | |
add_action( 'init', 'remove_default_qualification_field' ); | |
#-----------------------------------------------------------------# |
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
#-----------------------------------------------------------------# | |
# 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' ); | |
#-----------------------------------------------------------------# |
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
/*--------------------------------------------------------- | |
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 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
<?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 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
<?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 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
<?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'); |
NewerOlder