Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter CHomko

    (@chomko)

    I figured it out myself. I changed wp-job-manager/templates/job-application.php to:

    <?php if ( $apply = get_the_job_application_method() ) :
    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” onclick=”location.href=’https://MY PAGE URL HERE/’;” value=”Apply Now” />

    <?php do_action( ‘job_application_end’, $apply ); ?>
    </div>
    <?php endif; ?>

    Thread Starter CHomko

    (@chomko)

    And if you want the link to open in a new window:

    <?php if ( $apply = get_the_job_application_method() ) :
    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” onclick=”window.open(‘https://YOUR URL HERE/’)” value=”Apply Now” />

    <?php do_action( ‘job_application_end’, $apply ); ?>
    </div>
    <?php endif; ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing what the job application APPLY FOR JOB button does’ is closed to new replies.