Support » Plugin: WP Job Manager » Customising the application process

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello @ibiza69

    This is not support to WP Job Manager plugin, but I can help you.

    You can add this code where do you want display it.

    You can the below code where do you want see the counter of applications (all) to current job offer:

    <?php $apss= get_job_application_count( $post->ID ); if($apss > 0): echo esc_html_e('Applications','wp-job-manager'); echo ': '.$apss.''; endif;?>

    Grettings,
    Dariusz.

    • This reply was modified 6 months, 1 week ago by  kibus90.

    Hi @kibus90
    The code have not returned the Job Applied for each job, is returning total job applied on site.
    Please check.

    Shuvashish

    Hi @kibus90 and thanks a lot for the CODE!, but when we try to place it at content-single-job_listing.php, it breaks all the site, doesn´t show job offer, site broken.

    Could you please recheck where could be the problem at the code (maybe spaces or maybe something we can´t find):

    <?php $apss= get_job_application_count( $post->ID ); if($apss > 0): echo esc_html_e(‘Applications’,’wp-job-manager’); echo ‘: ‘.$apss.”; endif;?>

    Thanks again for your nice help!

    And about what @shuvashish, what do you think? he says that returns total jobs applied on site?

    Thanks you!!!

    @ibiza69

    Do you have WP Job Manager Application installed?

    You can see how it looks in my example in job listings:

    https://i.imgur.com/6txuEpZ.png

    And here in the single job listing:
    https://i.imgur.com/RrKhZwF.png

    And here you have application for this job (WP-Admin):
    https://i.imgur.com/p4ViclF.png

    I think it should work. If this does not work, you can do something else.

    You can add this to you function.php:

    function countappss( $appstatus, $job_id) {	  
    return sizeof( get_posts( array( 'post_type' => 'job_application',
    'post_status' => $appstatus, array( 'publish' ),
    'posts_per_page' => -1,
    'fields' => 'ids',
    'post_parent' => $job_id
    ) ) );
    }

    Then you can add this code where you want to show all application to some job:

    <?php echo countappss('all',$job->ID);?>

    If you want e.g. show only “new” application, then just change it:

    <?php echo countappss('new',$job->ID);?>

    I hope now everything is clear.

    P. S. During copy the code please be careful that you copy in good format (' instead )

    Grettings,
    Dariusz.

    • This reply was modified 6 months, 1 week ago by  kibus90.

    Hi @kibus90 and THANKS A LOT! for dedicating us your time to explain this.

    Yes, we have WP Job Manager.

    We have visited your pics and looks really nice!!, we would love to have BOTH counters, the one at Job Listing (Home page), and the one at Single Job Listing. BUT, we have tested your codes, here we are pasting them, we have rechecked the ‘ but it doesn´t show anything at all.

    theme functions.php code:

    function countappss( $appstatus, $job_id) {
    return sizeof( get_posts( array( ‘post_type’ => ‘job_application’,
    ‘post_status’ => $appstatus, array( ‘publish’ ),
    ‘posts_per_page’ => -1,
    ‘fields’ => ‘ids’,
    ‘post_parent’ => $job_id
    ) ) );
    }

    wp job manager templates content-single-job_listing.php code:

    <?php echo countappss(‘all’,$job->ID);?>

    And one more thing, where do you place the code at both files, I mean exact place, so looks as your one in job listing (list) and in single job listing?

    And what difference are between this 2 codes, I mean, what do they show:

    Then you can add this code where you want to show all application to some job:

    <?php echo countappss(‘all’,$job->ID);?>

    If you want e.g. show only “new” application, then just change it:

    <?php echo countappss(‘new’,$job->ID);?>

    Hopefully I´m not asking too much, as you dedicated us a lot of your time 😉

    Thanks a lot Dariusz!

    Hi again, we have tested again the code and we got a CERO (0), but we are totally sure that in those offers we cheked there are tons of people that applied to those jobs, so there is something that we are not doing well and there isn´t a frase where to place like you: “Applicants N#” and to not get only a number?

    Thanks again Dariusz!

    Hi,

    Hmm.. do you have installed WP JOB MANAGER APPLICATIONS?

    Maybe you use some different plugin to send the applications?

    Hi,

    Yes, we are using WP JOB MANAGER APPLICATIONS. But still, it’s not working.

    I have placed the respective code block in functions.php & another line which you have mentioned to render the value in the Single Job page’s sidebar widget. But for each & every scenario the total count is showing 35.

    Please have a look at the screenshot below,
    https://snag.gy/U3O2Q8.jpg

    Can you please suggest why is it not coming? Am I doing anything wrong or missing something?

    Thanks

    Hi! This was my answer from yesterday:

    Hi @kibus90 and THANKS A LOT! for dedicating us your time to explain this.

    Yes, we have WP Job Manager.

    Thank you!

    Hello,

    I do not know why it does not work. I just checked two codes – and both work well.

    Try this:

    <?php echo countappss('all',$post->ID);?>
    or this:

    <?php $apss= get_job_application_count( $post->ID ); if($apss > 0): echo $apss; endif;?>

    @ibiza69

    I asked you about WP Job Manager Applications 🙂

    • This reply was modified 6 months, 1 week ago by  kibus90.
    • This reply was modified 6 months, 1 week ago by  kibus90.
    • This reply was modified 6 months, 1 week ago by  kibus90.

    Hi @kibus90, you mean applications as uploading their CVs to site with WP Job Manager? If so, no.

    We have APPLY button, there is where we want to count, when they press the apply button, as we don´t use the Wp Job Manager Applications, because don´t have the fields and control that we need, it´s too basic for us, so we are using other plugin for applications, where they can upload CV, presentation letter, picture, both phones (mobile and home), skype, social networks, ecc.

    This APPLY button, indeed is from Wp Job Manager, it shows Email or URL to send applications, so we wanted to use that counter from that button for counting how many people applied to job.

    Is there any way you could help us? So we could have them at single job listing? and if those counters could show to at home page in each listing would be incredible.

    Thanks for your time and dedication 😉

    Shuvashish

    (@shuvashish)

    Hi @kibus90

    I have again checked your code today and the code completely useless for my site and break by single job listing page. I think there may me something wrong in your code or not fully given on forum.
    Shuvashish

    Plugin Contributor Richard Archambault

    (@richardmtl)

    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.