Support » Plugin: WP Job Manager » Add field to Single Resume content

  • Resolved Christina Workman

    (@amethystanswers)


    I added a Status field to the resume submission form with the following code:

    // Add field to admin
    add_filter( 'resume_manager_resume_fields', 'wpjms_admin_resume_form_fields' );
    function wpjms_admin_resume_form_fields( $fields ) {
    	
    	$fields['_candidate_status'] = array(
    	    'label' 		=> __( 'Status', 'job_manager' ),
    	    'type' 			=> 'textarea',
    	    'placeholder' 	=> __( '', 'job_manager' ),
    	    'description'	=> '',
    	    'priority' => 1
    	);
    
    	return $fields;
    	
    }
    
    // Add field to frontend
    add_filter( 'submit_resume_form_fields', 'wpjms_frontend_resume_form_fields' );
    function wpjms_frontend_resume_form_fields( $fields ) {
    	
    	$fields['resume_fields']['candidate_status'] = array(
    	    'label' => __( 'Status', 'job_manager' ),
    	    'type' => 'textarea',
    	    'required' => true,
    	    'placeholder' => '',
    	    'priority' => 1
    	);
    
    	return $fields;
    	
    }

    But now how do I get that Status content to show on the resume page?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add field to Single Resume content’ is closed to new replies.