Update the template for the job detail page
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 15 Jan 2016 19:34:02 +0000 (14:34 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 15 Jan 2016 19:34:02 +0000 (14:34 -0500)
If no application page is set don't show link

views/front/jobDetail.php

index 09934f0..7488d0f 100644 (file)
@@ -38,5 +38,7 @@
     </div>
     <?php endif;?>
     <div><?php echo apply_filters('the_content', $job->post_content);?></div>
+    <?php if ($applyOnlineHref) : ?>
     <a href="<?php echo $applyOnlineHref;?>">Apply Online</a>
+    <?php endif;?>
 </div>