Getting Newly Created Field on Submit Job Form to Show Up on Job Posting
Hi,
I have edited the submit-job-form.php file and created a new field ('requirements') on the Submit Job form. Now I need to get that new field to show up on the actual job posting by editing this code found in the confirm-job-process.php file:
### Create Post
$data = array(
'post_content' => $wpdb->escape($posted['details'])
, 'post_title' => $wpdb->escape($posted['job_title'])
, 'post_status' => $status
, 'post_author' => $user_ID
, 'post_type' => 'job_listing'
);
The post_content attribute is currently set to only display the 'details' field on the job posting (which is the short name for the Job Description field). How do I edit this attribute to include BOTH 'details' (existing) AND 'requirements' (my newly created field) on the job posting? I'm not much of a PHP whiz.
Thanks to anyone who can help!