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
<?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
<?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 |
OlderNewer