Add applynow button in wp job manager job listing page

I want to add apply now button to wp job manager job listing page, how can i do that?

  • Kasia Swiderska

    Hello Jimmy,

    Are you asking about that plugin https://wpjobmanager.com/ because you pick Jobs & Experts as plugin related to question?
    Those are two different plugins and Jobs & Experts does not have a Apply for job button because it not jobs board.

    I checked documentation for other plugin and it looks like you will need to override template in your theme
    https://wpjobmanager.com/document/template-overrides/
    it would be file content-job_listing.php - you would need to copy code for apply button from content-single-job_listing.php

    kind regards,
    Kasia

  • Jimmy

    hello
    I edited content-job_listing.php here is a code below

    <?php
    /**
    * Job Content
    *
    * @package Jobify
    * @since Jobify 1.0
    */

    global $post;

    $info = get_theme_mod( 'job-display-sidebar', 'top' );
    $col_overview = 'top' == $info ? '12' : ( ! jobify_get_the_company_description() ? '10' : '6' );
    $col_company = 'top' == $info ? '12' : '4';
    ?>

    <li id="job_listing-<?php the_ID(); ?>" <?php job_listing_class(); ?> <?php echo apply_filters( 'jobify_listing_data', '' ); ?>>
    " class="job_listing-clickbox">

    <div class="job_listing-logo">
    <?php the_company_logo( 'fullsize' ); ?>
    </div><div class="job_listing-about">

    <div class="job_listing-position job_listing__column">
    <h3 class="job_listing-title"><?php the_title(); ?></h3>

    <div class="job_listing-company">
    <?php the_company_name( '', ' ' ); ?>

    <?php the_company_tagline( '<span class="job_listing-company-tagline">', '</span>' ); ?>
    </div>
    </div>

    <div class="job_listing-location job_listing__column">
    <?php the_job_location( false ); ?>
    </div>

    <ul class="job_listing-meta job_listing__column">
    <?php do_action( 'job_listing_meta_start' ); ?>

    <li class="job_listing-type job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>"><?php the_job_type(); ?>
    <li class="job_listing-date"><date><?php printf( __( '%s ago', 'wp-job-manager' ), human_time_diff( get_post_time( 'U' ), current_time( 'timestamp' ) ) ); ?></date>

    <?php do_action( 'job_listing_meta_end' ); ?>

    <?php if ( $apply = get_the_job_application_method() ) : ?> <?php if ( 'url' === $apply->type ) : ?> <div class="job_application application"> url ); ?>" class="application_button button" target="_blank" rel="nofollow">Apply Now </div> <?php else : ?> <?php wp_enqueue_script( 'wp-job-manager-job-application' ); ?> <div class="job_application application"> <?php do_action( 'job_application_start', $apply ); ?> <input type="button" class="application_button button" value="<?php _e( 'Apply for job', 'wp-job-manager' ); ?>" /> <div class="application_details"> <?php /** * job_manager_application_details_email or job_manager_application_details_url hook */ do_action( 'job_manager_application_details_' . $apply->type, $apply ); ?> </div> <?php do_action( 'job_application_end', $apply ); ?> </div> <?php endif; ?> <?php endif; ?>

    </div>

    it only creates the apply now button but does not create the form,
    your code is nt working
    can you please send me code that will make the button display form that will sent the application to relevant person

    url: http://protruckdriverjobs.com/find-a-job/

    thanks will appreciate your help

  • Rupok

    Hi Jimmy,

    I just installed and activated WP Job Manager on my site to check how you can do that. But it seems like the application popup form is a paid extension of this plugin, so I could not check how this works actually and can't confirm how you can copy the total functionality on your listing page.

    However, can you please ask the developer of this plugin regarding how you can do this? As he developed the plugin, he can give you best idea regarding this. You can ask for their support from here: https://wpjobmanager.com/support/

    Please let us know what they says. If there is anything we can do from our end, we will be glad to help.

    Have a nice day. Cheers!
    Rupok