Send 'post' to specific user upon submission (unusual)

This topic contains 1 reply and 1 voices, and was last updated by bojomedia 10 years, 2 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
January 3, 2014 at 6:58 am 14106
bojomedia I am currently developing a job board using a combination of WP Job Manager and WPUF. The reason for this is because I wasn't able to find a secure method for submitting application forms that would be sent to the employer, when the user applies for a job. As a result, I have opted to make use of my previously unused WPUF license and create a crude Applicant Tracking System. This is what I am trying to achieve:
  1. Job-seeker fills out an application form on the job listing page
  2. an Application custom post type is created, and the employer is notified by email with the contents of the application, and any attachments (e.g a resumé) are attached as well.
I know this is a bit vague, but I've been working on this for ages and I've got myself all confused now! This is an example of a job listing on my development site. If you click the green Apply Now button at the bottom, it should open a box with a WPUF form in. Is there a way for WPUF to detect the author of the original job listing, and the title of the job listing? Perhaps through some sort of WP query? At the moment, I know you can specify a recipient for notifications via the form admin panel, but I would like the form to retrieve the author email (WP Job Manager has a custom field for this) and send it to them instead. Any help is appreciated!
January 3, 2014 at 7:25 am 14108
bojomedia bojomedia

I’ve just worked out how to get the job title and add it to the form, which I did by creating a hidden field in the render-form.php file on line 453:
<input type="hidden" name="title" value="<?php echo get_post_meta(the_title()); ?>">
Now, I still need to figure out what the name of the custom field is that stores the employer email address. The way WP Job Manager is coded is making it hard, but I’m getting used to it!

Viewing 1 Posts - 1 through 1 (of 1 total)