Created
October 28, 2016 22:31
-
-
Save purethemes/65601f8614a2622465b5a905f0378212 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( candidates_can_apply() ) : ?> | |
<?php | |
$external_apply = get_post_meta( $post->ID, '_apply_link', true ); | |
if(!empty($external_apply)) { | |
echo '<a class="button" target="_blank" href="'.esc_url($external_apply).'">'.esc_html__( 'Apply for job', 'workscout' ).'</a>'; | |
} else { | |
get_job_manager_template( 'job-application.php' ); | |
} | |
?> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment