Support » Plugin: WP Job Manager » Adding Field in Resume

  • Resolved OliverG81


    Hi Mike

    Currently trying out changing the names of the fields in job manager. I followed the instructions under title; “Advanced: Editing resume submission fields

    I managed to get that example working where I changed the field to The Candidate Name.

    I now want to try adding my own field to those that already exist.

    Am I correcting in thinking that I should…

    1) Be adding in the 3 stages of code to the functions.php file?

    2) Ensuring that I replace the likes of ‘submit_job_form_fields’ with ‘submit_resume_form_fields’ ??

    3) Be follow the 3 step “Step by step example – adding a salary field” instructions

    I have tried to alter the code below, trying to identify and replace the code for resume-form and not job-form.

    I don’t know how to replace everything, so I have added 4 x asterix or **** either side of that which I am trying to highlight. Does that make sense? I couldn’t bold the code.

    Could you have a look and let me know what I should be adding?

    It would be helpful if there were similar instructions on adding a field in the resume_manager Github.

    Thanks – Oliver.

    add_filter( 'submit_resume_form_fields', 'frontend_add_social_media_field' );
    function frontend_add_social_media_field( $fields ) {
        $fields['resumes']['social_media'] = array(
            'label'       => __( 'Social Media', ****'job_manager'****),
            'type'        => 'text',
            'required'    => true,
            'placeholder' => '',
            'priority'    => 7
        return $fields;
    **** add_action( 'job_manager_update_job_data', 'frontend_add_social_media_field_save', 10, 2 );****
    function frontend_add_social_media_field_save( $job_id, $values ) {
        update_post_meta( $resume_id, '_social_media', $values['resume']['social_media'] );
    add_filter( 'job_manager_job_listing_data_fields', 'admin_add_salary_field' );
    function admin_add_social_media_field( $fields ) {
        $fields['_social_media'] = array(
            'label'       => __( 'Social_Media', **** 'job_manager' **** ),
            'type'        => 'text',
            'placeholder' => '',
            'description' => ''
        return $fields;

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Jolley


    1. ****’job_manager’**** Textdomain doesn’t matter unless you are translating. Use resume_manager or remove it entirely.
    2. resume_manager_update_resume_data



    Hi OliverG81

    Did you ever get this working – struggling here!!

    If only we know how the magic worked??

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Field in Resume’ is closed to new replies.