Home Forums Plugin Support WP User Frontend Pro Send 'post' to specific user upon submission (unusual)

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  bojomedia 5 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #14106

    Post count: 1

    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!


    Post count: 1

    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 2 posts - 1 through 2 (of 2 total)

The topic ‘Send 'post' to specific user upon submission (unusual)’ is closed to new replies.